New issue
Advanced search Search tips

Issue 686842 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner: ----
Closed: Mar 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 3
Type: Bug



Sign in to add a comment

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 description

UserAgent: 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

 
Components: UI>Localization
Labels: -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.
Components: -Blink>Forms Blink>Forms>Validation

Comment 3 by tkent@chromium.org, Jan 30 2017

Labels: -Pri-2 -Arch-x86_64 Hotlist-GoodFirstBug Pri-3
Status: Available (was: Untriaged)

Comment 4 by tkent@chromium.org, Jan 30 2017

Components: -UI>Localization

Comment 5 by tkent@chromium.org, Mar 9 2017

Labels: M-59
Status: Fixed (was: Available)
Fixed by https://chromium.googlesource.com/chromium/src/+/9589a8db3dc83b7a06b02de71e28d9213ce1d8f7

Sign in to add a comment