From 1bed253d53fde81565fec5528c8e82aa21c43865 Mon Sep 17 00:00:00 2001 From: Alexander Shabunevich Date: Sun, 28 Jul 2024 13:15:25 +0300 Subject: [PATCH] docs: add note about locales with number mode issue --- docs/v3/options.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/v3/options.md b/docs/v3/options.md index dd84064..fcafe2e 100644 --- a/docs/v3/options.md +++ b/docs/v3/options.md @@ -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