Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
5.15.7, 6.4.0
-
e2fa7ab91 (dev), 5b25670c1 (6.8)
Description
Deleting a Binding doesn't restore the previous binding or value:
For example in the following code I would expect that after clicking a second time on the checkbox (unchecking it), its text would fallback to "initial binding : false" but it stays at "dynamic binding : true". (the binding isn't updated anymore but isn't restored either).
CheckBox { id: checkbox text: "initial binding : " + checked Loader { id: loader active: checkbox.checked sourceComponent: Binding { target: checkbox property: "text" value: "dynamic binding : " + checkbox.checked restoreMode: Binding.RestoreBindingOrValue } } }