<datalist> displays unwanted option values to end users
Reported by
jpdevr...@thinkful.com,
Aug 7 2017
|
||
Issue descriptionUserAgent: 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/
,
Aug 7 2017
This is by design. We show values because one of them will be inserted into the INPUT field on behalf of the user.
,
Aug 8 2017
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 |
||
Comment 1 by manoranj...@chromium.org
, Aug 7 2017