Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    May 2009
    Posts
    104
    Vote Rating
    0
    PV-Patrick is on a distinguished road

      0  

    Default [PR5][FIXED-EXTJSIV-189] ComboBox Selection Issue

    [PR5][FIXED-EXTJSIV-189] ComboBox Selection Issue


    Is anyone experiencing issues with the ComboBox selection of items? I can't seem to duplicate or narrow down this issue and it seems to happen at random intervals. What happens is if you just keep selecting options it eventually "freezes" and I am unable to select options in the ComboBox anymore. Sometimes this happens at selection #2 and sometimes it's selection #22. It almost always happens after I resize the window in which the form with the combobox is contained.

    Here is the combobox I am using:
    Code:
                    xtype            : 'combobox',
                    fieldLabel        : 'Type',
                    name            : 'type',
                    typeAhead        : true,
                    store    : new Ext.data.ArrayStore({
                        id        : 0,
                        fields    : ['value','option'],
                        data    : [['0','Option 1'],['1','Option 2'],['2','Option 3']]
                    }),
                    valueField        : 'value',
                    displayField    : 'option',
                    emptyText        : 'Select token type...',
                    queryMode        : 'local',
                    forceSelection    : true,
                    allowBlank        : false
    This is happening in both FF and Chrome and as I mentioned, I can't seem to find a solid pattern to duplicate the issue 100% of the time.

  2. #2
    Sencha User
    Join Date
    Feb 2011
    Posts
    12
    Vote Rating
    0
    jlmorgan is on a distinguished road

      0  

    Default


    I have the same issue, but when using a JSON Reader:

    Code:
    {
      displayField  : 'name',
      fieldLabel    : 'Country',
      name          : 'country_id',
      store         : new Ext.data.Store({
        fields: [
          { name: 'id', type: 'int' },
          'name'
        ],
        
        proxy: {
          reader: {
            root: 'rows',
            totalProperty: 'count',
            type: 'json'
          },
          type: 'ajax',
          url : 'data/country'
        }
      }),
      triggerAction : 'all',
      typeAhead     : true,
      valueField    : 'id',
      xtype         : 'combo'
    }
    Every attempt to select an item from the list results in a failed selection but no error.

  3. #3
    Ext User
    Join Date
    Aug 2010
    Posts
    46
    Vote Rating
    0
    4CastRisk is on a distinguished road

      0  

    Default


    Very similar code, so won't repost but as of yet I've been unable to get selecting an item in a combobox to work. The trigger works fine, and I can see all the items in the store listed - but the click event on the item itself doesn't work.

    This is currently happening to me with every combobox I have in my forms with PR5

  4. #4
    Sencha User
    Join Date
    Feb 2011
    Posts
    12
    Vote Rating
    0
    jlmorgan is on a distinguished road

      0  

    Default


    Putting the data local to the config and switch the proxy type to 'memory' did not change the lack of selection response.

  5. #5
    Ext JS Premium Member oaugustus's Avatar
    Join Date
    May 2007
    Location
    Belo Horizonte, Brazil
    Posts
    66
    Vote Rating
    2
    oaugustus is on a distinguished road

      0  

    Default


    Hi,

    I have the same problem, details is related in this post
    Otávio Augusto Rodrigues Fernandes
    Net On - Soluções Tecnológicas Ltda
    Desenvolvimento e Consultoria em ExtJS
    www.neton.com.br
    otavio@neton.com.br
    (31) 3075-7868

  6. #6
    Sencha User
    Join Date
    Feb 2011
    Posts
    12
    Vote Rating
    0
    jlmorgan is on a distinguished road

      0  

    Default


    Seems to be anchored around:

    Allows a selection:
    Code:
    queryMode: 'local'
    Fails at selection:
    Code:
    queryMode: 'remote'
    Difficult tracking down where queryMode and isLocalMode are causing this failure, but it's happening around that config option.

  7. #7
    Sencha User
    Join Date
    Jun 2009
    Posts
    3
    Vote Rating
    0
    cram is on a distinguished road

      0  

    Default


    Looks like the problem is in SetValue() of ComboBox.js. I believe there should be a line:
    Code:
    delete me.inSetValue;
    just after the model is selected (ie. after line 842).

  8. #8
    Sencha User
    Join Date
    Jun 2009
    Posts
    3
    Vote Rating
    0
    cram is on a distinguished road

      0  

    Default


    oops, make that after line 834. With context:

    Code:
    if (models.length) {
        selModel.select(models);
    }
    delete me.inSetValue;

  9. #9
    Sencha - Architect Dev Team jjohnston's Avatar
    Join Date
    Sep 2010
    Posts
    535
    Vote Rating
    18
    jjohnston will become famous soon enough jjohnston will become famous soon enough

      0  

    Default


    Thanks cram, you were correct. The fix has been committed.

Similar Threads

  1. Replies: 1
    Last Post: 25 Mar 2011, 6:51 PM
  2. Combobox selection issue in gxt-2.1.1
    By lakshmiarun in forum Ext GWT: Discussion
    Replies: 1
    Last Post: 10 Dec 2010, 6:08 AM
  3. Combobox selection issue in gxt-2.1.1
    By lakshmiarun in forum Sencha Touch 1.x: Discussion
    Replies: 0
    Last Post: 9 Dec 2010, 10:25 PM
  4. bindStore/ComboBox issue not showing selection
    By damo in forum Ext 3.x: Help & Discussion
    Replies: 5
    Last Post: 10 Dec 2009, 8:26 AM
  5. [FIXED] [1.2] TreeTable Selection Issue
    By fother in forum Ext GWT: Bugs (1.x)
    Replies: 2
    Last Post: 15 Dec 2008, 2:59 PM

Thread Participants: 5