New issue
Advanced search Search tips

Issue 753002 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner:
Closed: Aug 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

<datalist> displays unwanted option values to end users

Reported by jpdevr...@thinkful.com, Aug 7 2017

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36

Steps to reproduce the problem:
1. Create a HTML5 datalist
2. Notice the options display the option value

What is the expected behavior?
It is odd, perhaps unprecedented, for the user agent to display the underlying value of options. The expected behavior is not to display the option value, or an option to config it.

What went wrong?
Sometimes these options are cryptic, like a unique id or a hash. It may be unexpected to end users for these values to be exposed.

Did this work before? N/A 

Does this work in other browsers? N/A

Chrome version: 60.0.3112.90  Channel: stable
OS Version: OS X 10.12.6
Flash Version: 

Reproducible with any datalist such as the one here:
http://jpdevries.github.io/datalist/
 
Screen Shot 2017-08-07 at 7.26.32 PM.png
41.6 KB View Download
Labels: Needs-Triage-M60

Comment 2 by tkent@chromium.org, Aug 7 2017

Components: -Blink>Forms Blink>Forms>Datalist
Owner: tkent@chromium.org
Status: WontFix (was: Unconfirmed)
This is by design.  We show values because one of them will be inserted into the INPUT field on behalf of the user.
Ah ok. I suppose that makes sense seen as how datalist is like if input and select had a baby

Sign in to add a comment