-
My problem is very similar to this discussion but with addition of repeated elements. I've created an example where I have a bunch of sliders bound to some array model. The reset button changes the model. As one could expect, changing any slider destroys binding, so pressing reset after moving slider does not update it. Now, in case of single slider, I can live with setting its value manually after pressing Reset. I don't know however, what can I do with repeated elements:
Is there anything I can do except replacing "for" with bunch of "ifs" or waiting for two-way binding to model support? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I think in this case, this also exhibit bug #2598 |
Beta Was this translation helpful? Give feedback.
-
I develop a dirty workaround, posting it here in case anybody would be interested:
The UI will blink for a moment, but bindings will be restored. And I guess it is far from best performance, therefore I can't wait for two-way bindings! |
Beta Was this translation helpful? Give feedback.
I develop a dirty workaround, posting it here in case anybody would be interested:
if !resetting:
The UI will blink for a moment, but bindings will be restored. And I guess it is far from best performance, therefore I can't wait for two-way bindings!