Do more on the web, with a fast and secure browser!

Download Opera browser with:

  • built-in ad blocker
  • battery saver
  • free VPN
Download Opera

:tools: Scheduled maintenance

Heads up! Downtime for the Forums, related to the NodeBB upgrade, is planned for Wednesday, March 20, starting from 11:00 UTC.
Please make sure to finish all your posts before this time. The downtime may last up to 2 hours.

HTML element text input type's maxlength attribute is not working

  • Hi, can someone help me with the following issue please.

    The following HTML element type's maxlength attribute is not working in Opera mini / Opera browsers on Android phones.

    <input type="text" name="Name" id="Name" maxlength="10">

    Users are able to enter more chars than that of the max length defined above. Whereas from other browsers it doesn't allow user to enter chars more than the maxlength specified.

    Thanks in advance

  • Following is the HTML element, which got stripped from the above question

    input name="Name" id="firstName" maxlength="15" tabindex="1" placeholder="" value="" type="text"

  • Thank you for reporting this. Maxlength attribute is not supported in Opera Mini with Extreme compression mode, however it works properly with Extreme mode disabled. It should work properly in Opera for Android, but it looks like a bug, so I reported it to the proper team.

Locked