Closed mbirth closed 11 years ago
Good catch! Can you add a test for this and submit a pull request?
I took a closer look at this. Checked FF on Mac an Windows, and was unable to reproduce the issue. Also - an empty maxlength
is not a valid value, anyway.
FF reports maxlength as -1 if not set, so h5Validate always reports "tooLong" in lines 279-282 , even with the field empty.
To fix this, I changed the if to: