-
Notifications
You must be signed in to change notification settings - Fork 169
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
Allow to adjust value change mode for components. #3420
Conversation
33c5c50
to
ca0b61c
Compare
SonarQube analysis reported 4 issues Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:
|
Reviewed 1 of 5 files at r1. flow-client/src/main/java/com/vaadin/client/flow/binding/SimpleElementBindingStrategy.java, line 282 at r2 (raw file):
Quoted 7 lines of code…> model.getList(NodeFeatures.SYNCHRONIZED_PROPERTIES), > subProperty)) { > Console.debug("Ignoring property change for property '" > + fullPropertyName > + "' which is intended to be synchronized separately"); > return; > }Is it ? If the property is the model property then it doesn't have to be synchronized. Every model property is expected to "fire" server notification event (without any explicit synchronization). So it looks like this code is incorrect. Comments from Reviewable |
Reviewed 2 of 5 files at r1, 2 of 2 files at r2. flow-client/src/main/java/com/vaadin/client/flow/binding/SimpleElementBindingStrategy.java, line 282 at r2 (raw file): Previously, denis-anisimov (Denis) wrote…
This approach only improves the situation a bit disabling duplicating events in case of polymer element property. It's OK for now but the separate ticket about disabling this code in case of non-model property is required. Comments from Reviewable |
flow-client/src/main/java/com/vaadin/client/flow/binding/SimpleElementBindingStrategy.java, line 282 at r2 (raw file): Previously, denis-anisimov (Denis) wrote…
Comments from Reviewable |
will this feature be available for combo box too, because in my case, I have a combo box and bound to |
This change is