defineModel is not reactive #11988
Unanswered
RonanRobineau
asked this question in
Help/Questions
Replies: 2 comments 2 replies
-
The default value that you set is a normal, non-reactive array |
Beta Was this translation helpful? Give feedback.
2 replies
-
#10663 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have a weird behavior with a defineModel, it is not reactive.
the only way to trigger a change is to change the value inside the input.
Here is a playground with the issue: https://play.vuejs.org/#eNp9Uktv2zAM/iuELnaAzD5spyAZ9kAPG7AHut2qHjybTtXKkiBRXgrD/72U3KRpUdQn83uIHylN4rNz1RhRbMQ2tF45goAU3Udp1OCsJ5jAYw8z9N4OULC0kKa1JhA03jf3sIMOe2Xwh+1Ql0UGizXbGG6ipg1cXcO8OpoID/TSk7DnlqLIlrqGs1aXnGOX0pRX10z20bSkrIGm66BcwSQNLMJqbHTEysVwU6azl5otszTbehmTB+SCcHC6IeQK+Nt2anz85UIZFwnGd0NKuZMiHSXFE/8vEnH7T61W7R3znKNcnQk4Tded1PUiP7HT9LjAmVMtiqX7tj5LJdaCAu+gV/vqNljD95TnlKK1g1Ma/S+XlhCk2CwbSFyjtf3/PWPkI66PeHuD7d0r+G04JEyK3x4D+hGlOHHU+D3y3Im++PMz7+BE8mqiZvUb5CUGq2PKuMi+RNNx7DNdTvstvzZl9n/DxYHQhONQKWhSzlkvBb/Ar2+M/hT3ffUh+/jaxfwA4i7zag==
Do you have any ideas why?
Beta Was this translation helpful? Give feedback.
All reactions