html-formhandler icon indicating copy to clipboard operation
html-formhandler copied to clipboard

Text field maxlength leads to bad user experience

Open abraxxa opened this issue 6 years ago • 0 comments

When you set maxlength the input field doesn't allow to enter more characters which means that the validation and it's error message is never triggered. That lead to truncated passwords for some of our users.

I'd suggest to render the html with maxlength="$maxlength+1" and use maxlength for the validation as is.

abraxxa avatar Mar 27 '19 09:03 abraxxa