- 
    
Bug
 - 
    Resolution: Fixed
 - 
    
P2: Important
 - 
    5.15.7, 6.4.0
 
- 
        e2fa7ab91 (dev), 5b25670c1 (6.8)
 
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
        }
    }
}
| For Gerrit Dashboard: QTBUG-106103 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V | 
| 429998,6 | Binding: Restore state also when binding is deleted | dev | qt/qtdeclarative | Status: MERGED | +2 | +1 | 
| 578080,2 | Binding: Restore state also when binding is deleted | 6.8 | qt/qtdeclarative | Status: MERGED | +2 | 0 |