Currently this only works on single checkbox elements. It would be nice to be able to use it on a list of checkboxes.
Thanks
Currently this only works on single checkbox elements. It would be nice to be able to use it on a list of checkboxes.
Thanks
Comments
Comment #2
jordik commentedGood idea!
Can you please describe your use case in a bit more detail?
Where and how this list of checkboxes is being generated?
What is the underlying field type? Cardinality?
Comment #3
loze commentedI was referring to the core #type => checkboxes element that gets its options from the #options parameter, making each option have an on/off toggle, as opposed to a single #type => checkbox element.
Comment #4
jordik commentedWith what setup/field configuration are you trying to achieve this?
Or you want to assign the toggle widget programmatically?