Replies: 1 comment
-
Additionally this is the case for all the non-en currency formats. for 'en-GB', 'en-IN', 'en-EG' |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Using the reference from the example of Money format via hooks,
I have added code like below:
HTML:
<input v-maska:[maskOptions] data-maska="0.99" data-maska-tokens="0:\d:multiple|9:\d:optional" v-model="tax_rate"
/>where localNumberformat can be 'de-DE' or 'en-US' and localCurrency can be USD, EUR
Above code works fine for en-US and USD, but when switched to de-DE, the input field starts appending 0 after every digit.
Stackblitz link for reproducing the issue:
https://stackblitz.com/edit/nuxt-starter-xcr8ue?file=app.vue
Try to enter 34367.85 value in the text field.
Attaching the screen-rec below.
maska-de-input-err.mp4
Beta Was this translation helpful? Give feedback.
All reactions