Skip to content
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

[LiveComponent] Fix array valued checkboxes change event handling #910

Merged
merged 1 commit into from May 30, 2023

Conversation

welcoMattic
Copy link
Member

@welcoMattic welcoMattic commented May 30, 2023

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

As described in the linked issue, the event change of checkboxes weren't fully triggered (it didn't trigger AJAX request). It was because of the always-equals values of the pre-checked value attribute of the element and the after-change-event value of the element.

Thanks @Jim56450 for the help!

@welcoMattic welcoMattic added the Bug Bug Fix label May 30, 2023
@welcoMattic welcoMattic force-pushed the fix-array-values-checboxes branch 3 times, most recently from 5dbe5d5 to 1fa766c Compare May 30, 2023 14:33
@weaverryan
Copy link
Member

Thank you Mathieu!

@weaverryan weaverryan merged commit 9d6c9cc into symfony:2.x May 30, 2023
11 of 13 checks passed
@welcoMattic welcoMattic deleted the fix-array-values-checboxes branch May 30, 2023 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Bug Fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[LiveComponent] Checkbox check/uncheck doesn't trigger component update
2 participants