-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
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
Vue variable not updated. #6135
Comments
Why using |
Please see updated link |
@vad11, |
Yes, but I send document.querySelector('input[name=type]').trigger('change') ; |
@vad11 - you don't need and shouldn't use jQuery or I would recommend you read the Vue Guide, in particular Handling User Input. There might be some misunderstanding about how Vue should be used. |
I use jquery plugin in working project (select list, time, ...). Plugin make many operation and I want resive result from plugin by setting value to hidden input variable. This is clean and simply way to do this. If I work with vue you massege accepted, but this is not state. I must change value from jquery plagin and trigger vue to update this variable. This not work. Vue not update variable. |
Hi, thanks for your interest but Github issues are for bug reports and feature requests only. You can ask questions on the forum, the Discord server, gitter or StackOverflow. Vue cannot listen back to setting the value directly into the DOM element |
Please see #372 in bug reports. Writed that is solved, but I make this and for me this not work. May be this bug. I don't now. But please help me solve this problem. |
Ask here: https://stackoverflow.com/tags/vue.js |
I'm tryng to e2e with cypress and datetimepicker (vuetify). I setup an hidden input, triggered the change as expected, but the model doesnt get any update |
Version
2.4.1
Reproduction link
http://jsfiddle.net/vadvad/1pohLabg/22/
Steps to reproduce
Vue variable not updated after resive change message.
What is expected?
type = ok
What is actually happening?
type = not
The text was updated successfully, but these errors were encountered: