vue-currency-input
vue-currency-input copied to clipboard
Input breaks when using watch options and autoDecimalDigits false
Vue Currency Input version
v3.0.3
Vue version
v3.2.45
What browser are you using?
Chrome
What operating system are you using?
MacOS
Reproduction link
https://codesandbox.io/s/muddy-frost-p7qgv2?file=/src/components/VCurrencyField.vue:1006-1023
Describe your issue
When using watch options and autoDecimalDigits:false
, the input behaves in a strange way where it breaks after each number press and only accepts the last number. See code sandbox for working example.
It seems to only continue working correctly if precision is set to 0.