Bug Tracker

Ticket #10129 (closed bug: invalid)

Opened 3 years ago

Last modified 3 years ago

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:
Blocking: Blocked by:

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

comment:1 Changed 3 years ago by addyosmani

  • Priority changed from undecided to low
  • Resolution set to invalid
  • Status changed from new to closed
  • Component changed from unfiled to misc

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.