Navigation

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Groups
    • Rules
    • Help

    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

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

    Opera Mini
    2
    3
    3668
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ananthhcindia
      ananthhcindia last edited by

      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

      Reply Quote 0
        1 Reply Last reply
      • ananthhcindia
        ananthhcindia last edited by

        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"

        Reply Quote 0
          1 Reply Last reply
        • mbaluta
          mbaluta last edited by

          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.

          Reply Quote 0
            1 Reply Last reply
          • First post
            Last post

          Computer browsers

          • Opera for Windows
          • Opera for Mac
          • Opera for Linux
          • Opera beta version
          • Opera USB

          Mobile browsers

          • Opera for Android
          • Opera Mini
          • Opera Touch
          • Opera for basic phones

          • Add-ons
          • Opera account
          • Wallpapers
          • Opera Ads

          • Help & support
          • Opera blogs
          • Opera forums
          • Dev.Opera

          • Security
          • Privacy
          • Cookies Policy
          • EULA
          • Terms of Service

          • About Opera
          • Press info
          • Jobs
          • Investors
          • Become a partner
          • Contact us

          Follow Opera

          • Opera - Facebook
          • Opera - Twitter
          • Opera - YouTube
          • Opera - LinkedIn
          • Opera - Instagram

          © Opera Software 1995-