1. #1
    Sencha User
    Join Date
    Mar 2007
    Posts
    102
    Vote Rating
    0
    rojar is on a distinguished road

      0  

    Default why change event fired on combo blur not on item selection.

    why change event fired on combo blur not on item selection.


    Hi,

    I am using extjs combo. Registered for combo's 'change' listener.

    Code:
       change : ( Ext.form.Field this, Mixed newValue, Mixed oldValue )
    Problem is this change event is not fired when I select another item of combo. Only when combo focus is lost the change event is triggred.

    Change event works differently then select event in this regard. I need to get old and new selected values which is not available in select event.

    Can any one through some light.
    Thanks..

  2. #2
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,498
    Vote Rating
    46
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    That's how inputs in HTML work.

    If you want the select event, use the select event.

  3. #3
    Sencha User
    Join Date
    Mar 2007
    Posts
    102
    Vote Rating
    0
    rojar is on a distinguished road

      0  

    Default


    Thanks for your reply.

    My issue is

    Basically on selection of new item I have to update UI which now is happening on blur and select event does not provides old value and new value as parameters to listener function. I will have to manage previous value set variable.

  4. #4
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,498
    Vote Rating
    46
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    The startValue property of the field is what you want to look at. This will be documented in the next release.

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..."