Skip to content

Commit

Permalink
Update docs/components/input-amount/overview.md
Browse files Browse the repository at this point in the history
Co-authored-by: Thijs Louisse <[email protected]>
  • Loading branch information
gerjanvangeest and tlouisse authored Apr 10, 2024
1 parent 190d8a9 commit 0e8a3f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/components/input-amount/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A web component based on the generic text input field. Its purpose is to provide

For formatting, we use [Intl NumberFormat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NumberFormat) with some overrides.

For parsing user input, we provide our own parser that takes into account a number of heuristics, locale.
For parsing user input, we provide our own parser that takes into account locale, a number of heuristics and allows for pasting amount strings like 'EUR 100,00'.
Valid characters are digits and separators. Formatting happens on-blur.

If there are no valid characters in the input whatsoever, it will provide an error feedback.
Expand Down

0 comments on commit 0e8a3f7

Please sign in to comment.