This project is archived and is in readonly mode.

#425 ✓resolved

Validator: maxLength doesn't work.

Reported by Jake | October 26th, 2010 @ 01:39 PM | in

"Validator: maxLength" is evaluating to (10000) instead of the intended (false) for me in Firefox 3.6.11 running Core 1.3 and More I believe "Validator: minLength" has the same bug.

I was able to fix this in my environment by changing this line:

return (element.get('value').length <= props.maxLength || 10000);


return (element.get('value').length <= (props.maxLength || 10000));

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

The MooTools Extensions

People watching this ticket