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

v-currency-field does not clears the model when marked as clearable #37

Closed silvioprog closed 4 years ago

silvioprog commented 4 years ago

Hi.

When marking a v-currency-field as clearable (e.g. <v-currency-field clearable />) and clicking on its "clear" button, the content is restored from previous model value when exiting the focus from the component, however, it should be zeroed.

cheers

Maybe related to: https://github.com/phiny1/v-currency-field/issues/35

phiny1 commented 4 years ago

Hi,

I had to rewrite the component code to update to lasted version of vue-currency-input; Since the new code is not stable yet, I published the fix in release candidate v-currency-field@rc; I you could test de fix and help me stabilize the component I appreciate

phiny1 commented 4 years ago

Fixed in v3.1.0, thank you