horprogs / Just-validate

Modern, simple, lightweight (~5kb gzip) form validation library written in Typescript, with no dependencies (no JQuery!). Support a wide range of predefined rules, async, files, dates validation, custom error messages and styles, localization. Support writing custom rules and plugins.

Home Page:https://just-validate.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Number rule should support locale number format

PiemP opened this issue · comments

Good evening,

unfortunately I'm Italian and here we use comma as a decimal separator. Example:

1,202.23 (en) --> 1.202,23 (it)

Actually seems the number rule doesn't support italian decimal format. I would like just validate support different kind of number format.

Thank you.