You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the only reference in code:
if (options.customMaxAttribute && !options.allowOverMax) {
var custom = currentInput.attr(options.customMaxAttribute);
if (!max || custom < max) {
max = custom;
}
}
It only replace the maxlength attribute for the custom attribute name.
I think that the usefull thing is that the maxlength is only informative when you set allowOverMax to true.
The text was updated successfully, but these errors were encountered:
Unless you remove the native form validation you can't use the form validation attributes on inputs (such as maxlength) because the browser is going to stop you from inputting more values.
See this example: https://jsbin.com/mijanixivi/edit?html,output
This is the only reference in code:
if (options.customMaxAttribute && !options.allowOverMax) {
var custom = currentInput.attr(options.customMaxAttribute);
if (!max || custom < max) {
max = custom;
}
}
It only replace the maxlength attribute for the custom attribute name.
I think that the usefull thing is that the maxlength is only informative when you set allowOverMax to true.
The text was updated successfully, but these errors were encountered: