Side navigation
#10129 closed bug (invalid)
Opened August 24, 2011 07:29PM UTC
Closed August 25, 2011 06:16AM UTC
JQUERY Validation Plugin -- rule of min(value) does not respect the minimum value, if the value contains commas
| Reported by: | rc_2@yahoo.com | 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
Attachments (0)
Change History (1)
Changed August 25, 2011 06:16AM UTC by comment:1
| component: | unfiled → misc |
|---|---|
| priority: | undecided → low |
| resolution: | → invalid |
| status: | new → closed |
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