3 ms·
FTA: Why does the StopTheMadness extension want to disable input field max length? That’s a very useful feature for developers to give instant feedback to the u
by exabrial 3y ago
FTA: Why does the StopTheMadness extension want to disable input field max length? That’s a very useful feature for developers to give instant feedback to the users. I get it: a minority of people have 64+ char email addresses, but if you know the server is going to reject the POST, why not stop it before the submit?
- X-Istence 3y agoFun fact, I bank with a bank I won’t name, who has a change password flow that allows for up to 32 character passwords. Their login page only allows for 16 character passwords using the max length. This would truncate my password on login. Backend handles the longer password just fine though.
- deleted 3y ago[deleted]
- mywittyname 3y agoWe might bank with the same bank!
- chrisoverzero 3y agoTo paste a value that’s too long, then remove some part in the middle. Otherwise, it’s truncated.
- lapcat 3y ago> Why does the StopTheMadness extension want to disable input field max length? That’s a very useful feature for developers to give instant feedback to the users. I'm the developer of StopTheMadness, and it doesn't disable input field max length. Rather, it warns you when you paste something longer than the max length; otherwise, without the warning, your paste gets silently truncated, and you wouldn't know it.