I got a simple input field which has a maxlength="2" attribute. The code looks like this below:
<input id="txtLoginName" maxlength="2">
It works fine on most Android devices. However, on the HTC One M7, it does not work. On this device, it just allows me to enter as many characters as I want.
Any suggestion? I think it should be a device specific issue so far.
Thanks in advance.