-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
Description
What is the issue and how can we reproduce it?
- Bind a tree in a JSONModel to a sub property (e.g. /nestedItems)
- Change a different property in the model (e.g. /somethingCompletelyDifferent)
Error:
Observe the tree binding also firing the change event.
Expected behavior:
Tree binding only firing change when any child or child property of /nestedItems changed
Disclaimer:
Maybe i am understanding something wrong but this behavior does not look like its intended or in any case useful
I have not tested if this is JSONModel specific or if other model implementations are affected as well
JS Bin snippet reproducing the bug: https://jsbin.com/jakewodene/4/edit?js,output
When running the snippet you should see an alert confirming that the tree binding has changed
Which OpenUI5 version is your project targeting?
1.139.0
Is the issue device- or browser-specific?
No.
Tested on Chrome, Edge and Firefox
Confirmation
- I have searched the existing issues and reviewed the relevant documentation as well as the API reference.
- I am not disclosing any internal or sensitive information.