-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Component-bound v-model values are not updated #14
Comments
Hi @snow1101 |
Surprisingly I get the same behavior when trying to work with Edit: As it is more useful to me though I need to do this as a dirty workaround:
where If this is ever fixed by the editor then it would be a double work to do :(, but I don't have a better solution atm. |
@zubozrout Thanks for highlighting the problem. Regarding your case, if I understood correctly, the problem happen when you try to paste a piece of code directly into the editor and get not valid data at the output. So, I want to note that the editor has different behavior depending on the mode (text or tree), and the mode of operation is also determined by whether you use Also, in the near future, I will try to experiment with string parsing in text mode, and if it does not break the basic behavior, then I will implement it in vue3-jsoneditor |
Thank you very much for your reply @bestkolobok. In my case I am in a With that being said, I am afraid I am not familiar enough with the svelte-jsoneditor to open up an issue, yet I presume if this is not done right within the library then the approach I've chosen is ok. |
When my component is initialized, the v-model binds to data, and then I paste a piece of code in the editor and find that watch is not triggered
The text was updated successfully, but these errors were encountered: