Results 1 to 2 of 2

Thread: How to add a blank option in Combo?

  1. #1
    Sencha User raskri's Avatar
    Join Date
    Dec 2008
    Location
    Stavanger, Norway
    Posts
    73

    Default How to add a blank option in Combo?

    Without adding a new record in the corresponding store?
    -and when this new blank option is selected the emptyText is used.

  2. #2
    Ext User Tawez's Avatar
    Join Date
    Feb 2009
    Location
    Poland
    Posts
    16

    Default

    Indirectly:
    Code:
    {
    	 xtype: 'combo'
    	,forceSelection: true
    	,editable: true
    	,emptyText: 'Select...'
    	...
    }
    There is no "empty" option, but You can delete selected value.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •