Results 1 to 2 of 2

Thread: 'select' only triggered on the first selection on combobox

  1. #1
    Sencha Premium Member
    Join Date
    Apr 2012
    Posts
    95
    Vote Rating
    0
      0  

    Default Answered: 'select' only triggered on the first selection on combobox

    Hi everyone

    Is it possible that using combo box and a listener such as

    Code:
    Ext.getCmp('a_searchField').addListener(	'select',
    	function(that,record,index,eOPts){
    		updateValuesBox(record[0].get('field'));
    	}
    );
    only triggers when I make a select for the first time????
    on the first time I select something it triggers my function
    but any selection I make afterwards doesn't do anything....

    I didn't change any info in my "updateValuesBox" function...
    any one has ever faced that before???

    thanks

  2. You may want to capture the change event instead.

  3. #2
    Sencha User friend's Avatar
    Join Date
    Apr 2011
    Posts
    895
    Answers
    106
    Vote Rating
    27
      0  

    Default

    You may want to capture the change event instead.

Posting Permissions

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