@TommyQu wrote:
I'm trying to let the select option widget only display the option (no text on the left side). I write the below code. But I meet some problems:
- How to make the select have the same width with label?
How to wrap the content of the option? (I tried to add "item-text-wrap" class, wordbreak, wordwrap css, but not working)
<label class="item item-input item-select"> <select id="station-select"> <option value="">Select Option Below</option> <option ng-repeat="station in stations" value="{{station.station_seq}}">{{station.station_num}}-{{station.station_name}}</option> </select> </label>
Posts: 1
Participants: 1