Issue metadata
Sign in to add a comment
|
maxlength attribute does not restrict the entry of values in input element in web application
Reported by
sirius.p...@gmail.com,
Jul 21 2016
|
||||||||||||||||||||||||
Issue descriptionSteps to reproduce the problem: 1. <input type="number" maxlength="5" id="keyValue1"/> 2. enter integers more than 5 3. What is the expected behavior? It shouldn't allow more than 5 characters What went wrong? it allows any number of characters Did this work before? N/A Chrome version: 51.0.2704.81 Channel: n/a OS Version: 6.0.1 Flash Version: Shockwave Flash 22.0 r0
,
Jul 21 2016
,
Jul 22 2016
This behavior is defined by the standard. https://html.spec.whatwg.org/multipage/forms.html#number-state-(type=number) > The following content attributes must not be specified and do not apply to the element: accept, alt, checked, dirname, formaction, formenctype, formmethod, formnovalidate, formtarget, height, inputmode, maxlength,...
,
Nov 6 2016
|
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by rsgav...@chromium.org
, Jul 21 2016