Opened 11 years ago
Closed 11 years ago
#10129 closed bug (invalid)
JQUERY Validation Plugin -- rule of min(value) does not respect the minimum value, if the value contains commas
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | low | Milestone: | None |
Component: | misc | Version: | 1.5.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Reference: http://docs.jquery.com/Plugins/Validation/Methods/min#value
To reproduce the bug: On the Demo for the Valdate a minimum of 13, 1) Enter the value 1,300 (1300 with a comma).
Error: Any number with a comma fails validation, The validate plugin incorrectly reports an error
2) Remove the "min" requirement from the rule, and enter 1,300 (with the comma) -- the error goes away.. and the comma
Change History (1)
comment:1 Changed 11 years ago by
Component: | unfiled → misc |
---|---|
Priority: | undecided → low |
Resolution: | → invalid |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
This is the bug tracker for jQuery core. Please consult the issue tracker for the validation plugin and double check that you have the latest version: https://github.com/jzaefferer/jquery-validation/issues