fmaclen / svelte-currency-input

A masked form input that converts numbers to localized currency formats as you type
https://svelte-currency-input.fernando.is
MIT License
37 stars 5 forks source link

Multiple commas or periods #55

Closed irt-msummers closed 1 year ago

irt-msummers commented 1 year ago

Is there someway to trap entering extra periods or commas -- they get switched but still display. Just tested minus and it just repeats as well (not in video)

https://github.com/fmaclen/svelte-currency-input/assets/1631628/7a6b1266-d01c-4299-8554-f110cf45d6e6

fmaclen commented 1 year ago

@irt-msummers Can you post the props you are passing to the component? default value, locale, currency, etc...

fmaclen commented 1 year ago

Never mind, I was able to replicate the issue.

github-actions[bot] commented 1 year ago

:tada: This issue has been resolved in version 0.11.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: