The word "character" in minlength validation message should be singular when input field length is 1
Reported by
mbrund...@gmail.com,
Jan 30 2017
|
|||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.2997.0 Safari/537.36 Steps to reproduce the problem: 1. Type a single character into an input field that has a minlength value greater than 1. 2. Attempt to submit the form What is the expected behavior? In the validation message, "1 characters" should be "1 character" What went wrong? Ungrammatical validation message appears; "Please lengthen this text to 3 characters or more (you are currently using 1 characters)." Did this work before? N/A Does this work in other browsers? Yes Chrome version: 58.0.2997.0 Channel: canary OS Version: 6.1 (Windows 7, Windows Server 2008 R2) Flash Version: A similar, recently resolved issue in WebKit: https://bugs.webkit.org/show_bug.cgi?id=166712
,
Jan 30 2017
,
Jan 30 2017
,
Jan 30 2017
,
Mar 9 2017
Fixed by https://chromium.googlesource.com/chromium/src/+/9589a8db3dc83b7a06b02de71e28d9213ce1d8f7 |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by phistuck@chromium.org
, Jan 30 2017Labels: -Hotlist-Interop
Status: Untriaged (was: Unconfirmed)
Test case - data:text/html,<!doctype html><form><input name=s type=text minlength=3 required><input type=submit></form> Fill in the field with a single character ("a") and click on Submit.