2
0
mirror of https://github.com/tenrok/maska.git synced 2026-05-15 11:59:38 +03:00

docs: add note about locales with number mode issue

This commit is contained in:
Alexander Shabunevich
2024-07-28 13:15:25 +03:00
parent 4ca18fba65
commit 1bed253d53
+1
View File
@@ -191,6 +191,7 @@ new MaskInput("input", {
?> Under the hood Maska uses [Intl.NumberFormat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat) for number formatting.
!> For some locales, such as `de` or `br`, which use a dot `.` as a thousand separator, you should manually format the initial value before passing it. For more information, please see [issue #225](https://github.com/beholdr/maska/issues/225).
## Dynamic masks