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

loze created an issue. See original summary.

jordik’s picture

Status: Active » Postponed (maintainer needs more info)

Good 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?

loze’s picture

I 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.

jordik’s picture

With what setup/field configuration are you trying to achieve this?
Or you want to assign the toggle widget programmatically?