Closed robacarp closed 6 years ago
What about doing something like == check_box name: "allow", id: "allowed_default", checked: object.allow
?
@eliasjpr I don't think that would correct the issue I'm seeing, but perhaps I don't understand your suggestion. Can you elaborate more?
Thanks again.
This pattern is common and should produce a clickable label which increases the click surface of the checkbox:
The current behavior incorrectly renders the hidden input with the same HTMTL id as the checkbox, which renders the label inoperable.