Terry Gilliver
Posts: 0
Joined: Fri Apr 18, 2014 8:45 pm

disable first option in select component

Often in a select menu, the first option is an instruction and not meant to be selected. For instance "Select Option". I want to make sure that the first option cannot be selected, how do I do that?

obullei
Posts: 0
Joined: Thu Jun 05, 2014 12:17 am

disable first option in select component

Hello!

Could you describe your issue with more details?

Terry Gilliver
Posts: 0
Joined: Fri Apr 18, 2014 8:45 pm

disable first option in select component

The first option in the list is there for instruction to the user only, and is not a valid value. Therefore once the user has clicked on the select component, he should not be able to select the first option in the list. I hope that is clear.

fo instance in this jquery docs page: http://demos.jquerymobile.com/1.0a4/d...

where it says 'choose one', you can't select the option 'choose one' as it is for instruction only

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

disable first option in select component

Hello Terry,

You should add in Properties - Options label "choose one" and keep the value of value blank. This line must be the first in the list.

Return to “Issues”