1. #1
    Ext User
    Join Date
    May 2007
    Posts
    6
    Vote Rating
    0
    spotk is on a distinguished road

      0  

    Default ComboBox selected value not set when changing field focus

    ComboBox selected value not set when changing field focus


    Hello list,
    I'm facing a little problem with combobox.

    I've a form with multiple fields , i've a combo defined as :

    Code:
    {
    			xtype: 'combo',
    			id: 'cartes_cb',
    			fieldLabel: 'carte',
    			hiddenName: 'numero_carte',
    			selectOnFocus:true,
    			displayField: 'numero',
    			valueField: 'numero',
    			iconClsField: 'id_membre',
    			store: this.cartestore,
    			anyMatch: true,
    			anchor:'100%',
    			typeAhead: true,
    	        triggerAction: 'all',
    			allowBlank: false
    		}
    When the user enter a text to filter the combo store, and one value is returned , the combo field is populated, but if the user use tab key to pass to the next field without explicitly clicking in the combo field , the value is not defined correctly.

    Is this a known problem?

    Maybe someone knows a trick for this?

    Thanks in advance

    Spotk

  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    89
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    Some notes:
    Code:
    {
      xtype: 'combo',
      id: 'cartes_cb',
      fieldLabel: 'carte',
      //hiddenName: 'numero_carte', -> valueField == displayField, so use name instead
      name: 'numero_carte',
      selectOnFocus:true,
      displayField: 'numero',
      //valueField: 'numero', don't specify if valueField == displayField
      iconClsField: 'id_membre', // <- this is not a standard config option
      store: this.cartestore,
      anyMatch: true, // <- this is not a standard config option
      anchor:'100%',
      typeAhead: true,
      triggerAction: 'all',
      allowBlank: false
    }

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi