-
20 Mar 2011 10:40 PM #1
[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:
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.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
-
21 Mar 2011 9:04 AM #2
I have the same issue, but when using a JSON Reader:
Every attempt to select an item from the list results in a failed selection but no error.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' }
-
21 Mar 2011 9:14 AM #3
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
-
21 Mar 2011 9:15 AM #4
Putting the data local to the config and switch the proxy type to 'memory' did not change the lack of selection response.
-
21 Mar 2011 10:38 AM #5
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
-
21 Mar 2011 10:42 AM #6
Seems to be anchored around:
Allows a selection:
Fails at selection:Code:queryMode: 'local'
Difficult tracking down where queryMode and isLocalMode are causing this failure, but it's happening around that config option.Code:queryMode: 'remote'
-
21 Mar 2011 11:11 AM #7
Looks like the problem is in SetValue() of ComboBox.js. I believe there should be a line:
just after the model is selected (ie. after line 842).Code:delete me.inSetValue;
-
21 Mar 2011 1:07 PM #8
oops, make that after line 834. With context:
Code:if (models.length) { selModel.select(models); } delete me.inSetValue;
-
22 Mar 2011 5:26 PM #9
Thanks cram, you were correct. The fix has been committed.
Thank you for reporting this bug. We will make it our priority to review this report.
Similar Threads
-
[FIXED-EXTJSIV-200] Discontigious selection in TreeGrid
By daanlib in forum Ext:BugsReplies: 1Last Post: 25 Mar 2011, 6:51 PM -
Combobox selection issue in gxt-2.1.1
By lakshmiarun in forum Ext GWT: DiscussionReplies: 1Last Post: 10 Dec 2010, 6:08 AM -
Combobox selection issue in gxt-2.1.1
By lakshmiarun in forum Sencha Touch 1.x: DiscussionReplies: 0Last Post: 9 Dec 2010, 10:25 PM -
bindStore/ComboBox issue not showing selection
By damo in forum Ext 3.x: Help & DiscussionReplies: 5Last Post: 10 Dec 2009, 8:26 AM -
[FIXED] [1.2] TreeTable Selection Issue
By fother in forum Ext GWT: Bugs (1.x)Replies: 2Last Post: 15 Dec 2008, 2:59 PM


Reply With Quote