phiny1 / v-currency-field

The Vuetify Currency Field uses Vue Currency Input directive to create a currency component (<v-currency-field>)
https://phiny1.github.io/v-currency-field/
MIT License
60 stars 29 forks source link

Reflect value in two inputs #27

Closed JuanguiMartinez closed 4 years ago

JuanguiMartinez commented 4 years ago

Hi, two weeks ago, I have an input with v-currecy-field thas works when I entry some value, this value reflect in another input automatically, but I don't know why. Since the last version this doesn't work, it's an easy code

Just assign value from v-model to another v-model variable:


v-model = "inputOne" @input="mirrorInput()"

v-model = "inputTwo"

mirrorInput() { this.inputTwo = this.inputOne ]

That works but only assign value in model, but input field doesn't change. Is always null, but I repeat two weeks ago worked, I don't know if any changes from the last release have relation with this ( I saw in the last commit one prop named "currrency" with "3 r" maybe it's an error, I don't know

Thanks.