-
Notifications
You must be signed in to change notification settings - Fork 167
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
fix: unbind previous binding for the same field #18833
Conversation
Quality Gate passedIssues Measures |
Hi @mcollovati and @tepi, when i performed cherry-pick to this commit to 24.2, i have encountered the following issue. Can you take a look and pick it manually? |
When a field is bound multiple times, the previous bindings are removed from the Binder internal collection, but they are not unboud, leaving listeners attached to the field. This change unbounds previous bindings when the field is bound again. Fixes #18826 Fixes #18702 Co-authored-by: Marco Collovati <marco@vaadin.com>
Description
When a field is bound multiple times, the previous bindings are removed from the Binder internal collection, but they are not unboud, leaving listeners attached to the field.
This change unbounds previous bindings when the field is bound again.
Fixes #18826
Fixes #18702
Type of change
Checklist
Additional for
Feature
type of change