W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > October 2011

[Bug 14573] Make so you can put <hr> inside <select>. Many times I've seen people use hacks such as <input disabled>--------</input> as a separator/divider in select. For people who want to have a selection with no default value preselected. Example: <select> <opti

From: <bugzilla@jessica.w3.org>
Date: Thu, 27 Oct 2011 15:55:46 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1RJSJ0-0001ow-Hc@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=14573

Tab Atkins Jr. <jackalmage@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jackalmage@gmail.com

--- Comment #2 from Tab Atkins Jr. <jackalmage@gmail.com> 2011-10-27 15:55:46 UTC ---
Having a select with a "default"/"not selected" value is already possible. 
Just make the select @required, and make the first option have a value=''.

Separating options into groups can already be done with <optgroup>.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Thursday, 27 October 2011 15:55:50 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 27 October 2011 15:55:50 GMT