New issue
Advanced search Search tips

Issue 638246 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 117378
Owner: ----
Closed: Aug 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

In all WebView versions, the attribute maximum length for input type = number is not working

Reported by sirius.p...@gmail.com, Aug 16 2016

Issue description

Steps to reproduce the problem:
To recreate this issue use the code provided in the below URL in a webview app 
        https://jsfiddle.net/dh67h8sd/2/

What is the expected behavior?
user input must not be allowed beyond the maximum length 

What went wrong?
any length of user input is allowed to be entered even when maximum length attribute for input is assigned with a specific value.

Did this work before? N/A 

Chrome version: 52.0.2743.116  Channel: stable
OS Version: 5.x, 6.x and 7.0
Flash Version:
 

Comment 1 by torne@chromium.org, Aug 16 2016

Components: -UI Mobile>WebView

Comment 2 by boliu@chromium.org, Aug 18 2016

Status: WontFix (was: Unconfirmed)
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input

"""
maxlength
If the value of the type attribute is <<text, email, search, password, tel, or url>>, this attribute specifies the maximum number of characters (in Unicode code points) that the user can enter; <<for other control types, it is ignored>>. It can exceed the value of the size attribute. If it is not specified, the user can enter an unlimited number of characters. Specifying a negative number results in the default behavior; that is, the user can enter an unlimited number of characters. The constraint is evaluated only when the value of the attribute has been changed.
"""

Comment 3 by tkent@chromium.org, Aug 19 2016

Components: Blink>Forms>Number

Comment 4 by tkent@chromium.org, Nov 6 2016

Mergedinto: 117378
Status: Duplicate (was: WontFix)

Sign in to add a comment