-
Notifications
You must be signed in to change notification settings - Fork 256
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
Can't programmatically change the value with Vuetify #44
Comments
I'll check it. |
same issue |
I'm having the same problem. I put v-money inside another component. When I try to programmatically change the value on the v-model of the parent component, the v-money keeps the old value. [FIXED] I was using a this.$nextTick without need to change the child component value. |
Same here. Any update? |
Same here... |
the problem is with v-text-field, with input works good |
Same here... but I'm using ElementUI (element.eleme.io) |
While there is no solution, pure Javascript can be used to set the input value and then create an 'Input' event, which is the event that the 'v-model' directive listens to: |
We are currently in the process of updating all form components for v1.1. If you can fix the codepen to produce the issue, I can verify it against our latest work. |
@johnleider What do you mean "If you can fix the codepen to produce the issue"? |
I must of been looking at something incorrectly, thanks @paulpv |
@johnleider NP; I am certain you are busy! |
I saw a workaround somewhere and the same solution works to Vuetify |
I made a directive based on v-money that works with Vuetify (v-text-field) and normal inputs. |
in my e2e tests with selenium / chromedriver I saw the same issue. |
This plugin breaks reactivity of inputs after adding the v-money parameter. I'm using v-model binded to vuex state. |
Edit: the mask then breaks after resetting the input, so there's still a bug somewhere |
Just one more option : |
Can you show how to use a this.$nextTick to change v-money value? |
Any update on this? Edit: |
same here |
@kevinfaguiar Your solution work for me I'm using v-money and vuetify |
workaround solution |
Same problem with bootstrap-vue when i try to extend Money. If i try to set the value programatically then it is restored to previous value. |
this works for me |
I can't reset for native input also. |
hey, Welcome I'm interested to maintain |
Hi! I did a watch using the @ElizeuBraga solution and it's working very well:
|
When using with Vuetify, I can't reset the model value
https://codepen.io/talski/pen/MOxZXX?editors=1010
The text was updated successfully, but these errors were encountered: