This repository was archived by the owner on Oct 8, 2021. It is now read-only.
suggestion: standard width for <select> field #1518
Closed
Description
The select field width adapts depending on the item the user selects.
Would it make sense to set automatically set the width to the largest option with text-overflow = ellipsis at a certain max-width? Makes layouting with select fields much easier.
So as:
select
option 1 = 123
option 2 = "this is a long option text"
select-width would be the width required to display option 2.
Activity
toddparker commentedon Apr 28, 2011
This is worth considering since it's the standard behavior with a native select.
toddparker commentedon Sep 27, 2011
Added to the feature request wiki:
https://github.com/jquery/jquery-mobile/wiki/Feature-Requests