3 ms·
At least this behaviour is better than iOS Safari, which will happily send an input field longer than maxlength to the server. You can find a whole bunch of Sta
by speleding 6y ago
At least this behaviour is better than iOS Safari, which will happily send an input field longer than maxlength to the server. You can find a whole bunch of StackOverflow questions about this [1][2]. So if you will need a server side check regardless of what Firefox does. (Of course, you need a server side check anyway, but you need one with proper feedback rather than throwing back an "Unacceptable" http status code).
[1] https://stackoverflow.com/questions/33080103/ios-safari-ignores-html-maxlength-attribute https://stackoverflow.com/questions/33080103/ios-safari-igno...
[2] https://stackoverflow.com/questions/27319642/is-there-a-workaround-for-text-input-maxlength-not-working-in-safari https://stackoverflow.com/questions/27319642/is-there-a-work...