Bug Tracker

Opened 6 years ago

Closed 6 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: rc_2@… Owned by:
Priority: low Milestone: None
Component: misc Version: 1.5.1
Keywords: Cc:
Blocked by: Blocking:


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 6 years ago by addyosmani

  • Component changed from unfiled to misc
  • Priority changed from undecided to low
  • Resolution set to invalid
  • Status changed from new to 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

Note: See TracTickets for help on using tickets.