Bug Tracker

Modify

Ticket #2429 (closed bug: wontfix)

Opened 5 years ago

Last modified 5 years ago

[validate] minLength of messages does not work

Reported by: ahdong Owned by:
Priority: major Milestone:
Component: plugin Version: 1.2.1
Keywords: validate Cc:
Blocking: Blocked by:

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.

Change History

comment:1 Changed 5 years ago by scott.gonzal

  • 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.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.