-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi,
Is it possible to disable the dropdown of a combobox ?
Many thanks,
This will disable a value within the combo box (it will still show up, but it will not have the ability to be selected):
<select> <option value="volvo" disabled="">Volvo</option> <option value="saab">Saab</option> <option value="vw">VW</option> <option value="audi">Audi</option> </select>
This will disable the whole combo box:
<select disabled="disabled"> <option value="volvo">Volvo</option> <option value="saab">Saab</option> <option value="mercedes">Mercedes</option> <option value="audi">Audi</option> </select>
you can use autodrop="false" and disabled="true" in the combobox.
What do you mean to disable combobox
you men it will show the drop-down but is not clickable or you want to hide the Combobox
<checkbox label="check" onCheck="combo.visible = !combo.visible"/>
<combobox id="combo">
<comboitem label="Simple and Rich" />
<comboitem label="Cool!" />
<comboitem label="Thumbs Up!" />
Asked: 2013-08-25 14:51:53 +0800
Seen: 66 times
Last updated: Apr 10 '19
I mean that the combobox will not show the drop-down list (only the selected item) but stay visible because some users must see the combobox but they can't modify it.
yohann ( 2013-08-26 09:58:19 +0800 )edit