v-currency-field
v-currency-field copied to clipboard
Initial value not formatted
Hi there!
The initial value is not formatted in latests versions: code. It was working in version 3.0.9.
Thanks!
Same issue here.
Furthermore, when setting autoDecimalMode
to false
, the decimal separator is removed and the value is changed because of this. You can try this by changing the autoDecimalMode
property in @oliveiracdz's example to false
and then clicking into/focusing the currency-field.
In this case the value 1.5
changes to 15
when focusing the field.
Note that this only happens when focusing the field for the first time after the page was loaded.
When initial value is 0 it works
Thank you @klarkc for contribution, I'll check the code and pull your request.