jeudi 28 juin 2018

Make only checkbox clickable in activeadmin boolean fields

Right now, the boolean fields in the edit forms in activeadmin are rendered so that clicking on the whole row where the checkbox is positioned can change the checkbox value. So not only on the checkbox and its label but also on all the space left and right to it.

But I want to make just the checkboxes clickable, not the entire line. How is it possible to implement this?




Aucun commentaire:

Enregistrer un commentaire