Opened 15 years ago
Closed 15 years ago
#2429 closed bug (wontfix)
[validate] minLength of messages does not work
Reported by: | ahdong | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | plugin | Version: | 1.2.1 |
Keywords: | validate | Cc: | |
Blocked by: | Blocking: |
Description
jQuery plugin: Validation version: 1.2.1 Browser info:Mozilla/5.0 (X11; U; Linux i686; zh-CN; rv:1.8.1.12) Gecko/20080207 Ubuntu/7.10 (gutsy) Firefox/2.0.0.12
Enven in the demo,
username: { required: "Please enter a username", minLength: "Your username must consist of at least 2 characters" },
the minLength message actually shown is 'Please enter at least 2 characters.',NOT "Your username must consist of at least 2 characters".
If change minLength to lowercase,it works.So I guess there must be some spell-mistakes.
Note: See
TracTickets for help on using
tickets.
The minLength option is deprecated in favor of minlength. Please switch to using the all lowercase version for forward compatibility.