You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not quite sure if this is an issue with vue-rawmodel or Vue.js. but it seems that the support for nested models is limited or broken. Please see this demo for reference: https://codepan.net/gist/a7fe8b888cf6b5e92c84350e9ed22fbc
Basically I have two reactive models, where one model is a child of the other.
When I change the value of a non-nested property I'm unable to change the value of a nested property until I either reset ($rollback) the model or change the values back to their original state.
It feels like I'm missing something very obvious, but I've been trying to figure this one out for quite some time now. Hopefully you can shine some light on this?
The text was updated successfully, but these errors were encountered:
I'm not quite sure if this is an issue with vue-rawmodel or Vue.js. but it seems that the support for nested models is limited or broken. Please see this demo for reference: https://codepan.net/gist/a7fe8b888cf6b5e92c84350e9ed22fbc
Basically I have two reactive models, where one model is a child of the other.
I have a custom form component named
form-toggle
looking like this:And now we put it all together:
For conveniance here's the template:
When I change the value of a non-nested property I'm unable to change the value of a nested property until I either reset (
$rollback
) the model or change the values back to their original state.It feels like I'm missing something very obvious, but I've been trying to figure this one out for quite some time now. Hopefully you can shine some light on this?
The text was updated successfully, but these errors were encountered: