Side navigation
#2429 closed bug (wontfix)
Opened February 28, 2008 07:35AM UTC
Closed February 28, 2008 04:27PM UTC
[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.
Attachments (0)
Change History (1)
Changed February 28, 2008 04:27PM UTC by comment:1
| resolution: | → wontfix |
|---|---|
| status: | new → closed |
The minLength option is deprecated in favor of minlength. Please switch to using the all lowercase version for forward compatibility.