Chromebook internal keyboard does not restrict input field to maxlength
Reported by
joel.l...@pearson.com,
Jun 10 2016
|
|||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36 Platform: 8350.21.0 Steps to reproduce the problem: 1. Use the chromebook in tablet mode 2. Type letters using the built-in keyboard 3. What is the expected behavior? No letters should be accepted after the maxlength of the input is reached. What went wrong? The input box can be filled with more characters than the maxlength. Did this work before? N/A Chrome version: 52.0.2743.32 Channel: dev OS Version: 52.0.2743.32 Flash Version: Shockwave Flash 22.0.0.168-r1 You can use this example: http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_input_maxlength
,
Jun 10 2016
I could not reproduce this issue. Maxlength worked for me on 52 dev, tablet and desktop mode. Could you take a video of the behavior you're seeing?
,
Jun 10 2016
,
Jun 14 2016
Following these steps I can reproduce this consistently: 1. Go to http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_input_maxlength 2. auto-correction is enabled (moderate) and Gesture Typing is enabled 3. Flip Chromebook to tablet mode 4. Type letters with the on-screen keyboard Result: it doesn't stop you from typing more letters than the maxlength of 10
,
Jun 14 2016
Part of what is going on here is that the input is being done in composition mode (as denoted by the underline beneath the text, which you may have turned off in your keyboard settings) and the text is not validated until the composition complete event is received. Personally, I find it really annoying that the auto-correction mode is being treated as a composition, but as noted you can disable this in your HTML by setting autocorrect="off" and autocomplete="off".
,
Jul 21 2016
,
Aug 2 2016
,
Aug 4 2016
This works as intended for now. Maxlength doesn't restrict composition text. |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by joel.l...@pearson.com
, Jun 10 2016