Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I found that only the label was being displayed when selecting the single on/off box.
The problem is that the ['#theme'] is being set when the radio for a boolean field is being changed to a checkbox. The problem is that the theme for the checkbox is being set to checkbox instead of "input__theme".
I also found that removing this ['#theme'] also works as the default theme is not being set.
Comment | File | Size | Author |
---|---|---|---|
#2 | 0001-Issue-2856856-Not-displaying-checkbox-when-using-sin.patch | 981 bytes | gordon |
Comments
Comment #2
gordon CreditAttribution: gordon as a volunteer commentedComment #3
nikathonePatch in #2 works for me +1 for RTBC. Using
"drupal/better_exposed_filters": "^3.0@alpha"
and applying it with composer andcweagans/composer-patches
Comment #4
akozma CreditAttribution: akozma commented+1 for patch #2
Tested with "drupal/better_exposed_filters": "3.x-dev" applying it with composer and cweagans/composer-patches
Comment #6
mikeker CreditAttribution: mikeker as a volunteer commented@gordon, Thank you for the bug report and patch! And thank you to the reviewer on this issue.
Committed.