jQuery: The Write Less, Do More JavaScript Library

Ticket #2429 (closed bug: wontfix)

Opened 5 months ago

Last modified 5 months ago

[validate] minLength of messages does not work

Reported by: ahdong Assigned to: anonymous
Type: bug Priority: major
Milestone: Component: plugin
Version: 1.2.1 Keywords: validate
Cc: Needs: Review

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

Change History

Changed 5 months ago by scott.gonzalez

  • status changed from new to closed
  • resolution set to wontfix

The minLength option is deprecated in favor of minlength. Please switch to using the all lowercase version for forward compatibility.

Note: See TracTickets for help on using tickets.