Skip to content

[Live] Add proper support for boolean checkboxes + fix bug for non-model checkboxes #747

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 21, 2023

Conversation

weaverryan
Copy link
Member

…del checkboxes

Q A
Bug fix? yes
New feature? yes
Tickets Fix #704
License MIT

Adds support for checkboxes without a value attribute, which will result in a boolean value: <input type="checkbox" data-model"isEnabled">

This is more of a bug fix, as we documented this use, but didn't properly support it. Also fixes a very small bug that caused #704.

@weaverryan weaverryan force-pushed the fix-boolean-checkboxes branch from 16129b2 to a802d36 Compare March 21, 2023 17:20
@weaverryan weaverryan merged commit 6c8e59f into symfony:2.x Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[LiveComponent] breaking without data-model declared
1 participant