PDA

View Full Version : How to add a blank option in Combo?



raskri
3 Mar 2010, 11:44 PM
Without adding a new record in the corresponding store?
-and when this new blank option is selected the emptyText is used.~o)

Tawez
4 Mar 2010, 1:13 AM
Indirectly:


{
xtype: 'combo'
,forceSelection: true
,editable: true
,emptyText: 'Select...'
...
}

There is no "empty" option, but You can delete selected value.