-
24 Nov 2010 8:55 AM #1
[FIXED-1033] Combo - Selection changes if displayfield is not unique.
[FIXED-1033] Combo - Selection changes if displayfield is not unique.
Ext version tested:
- Ext 3.3
Adapter used:
- ext
css used:
- only default ext-all.css
When using a combobox, if there are two options that have the same displayField value and the latter is selected, the first will always be selected on blur. Since I was using a template to display other values in the dropdown I didn't really care that the displayField was not unique. I was assuming that my valueField had to be unique, but not the displayField. IMHO, it should not be selecting the first instance of a displayField, but rather, what the user selected. If it is not possible, it should probably be in the docs that displayField must be unique.
Looking briefly, this appears to be caused by Ext.form.ComboBox.assertValue()
-
25 Nov 2010 7:46 AM #2Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- The Netherlands
- Posts
- 24,251
- Vote Rating
- 41
-
26 Nov 2010 7:24 AM #3
and duplicate of my bugreport 525, which was declared to be fixed

http://www.sencha.com/forum/showthread.php?91252
my override -> suggested hotfix really works fine, give it a try.
kind regards
tobiu
Thank you for reporting this bug. We will make it our priority to review this report.
Similar Threads
-
[FIXED-1033] ComboBox reports incorrect value when non-unique display fields are used
By dlouwers in forum Ext 3.x: BugsReplies: 8Last Post: 11 Nov 2010, 10:33 PM -
[DUPE-1033] extjs combobox displayfield same name with different value ?
By sebterzi in forum Ext 3.x: BugsReplies: 1Last Post: 13 Oct 2010, 1:08 AM -
[FIXED-525] Combo submits wrong value, if displayField has same entries
By tobiu in forum Ext 3.x: BugsReplies: 10Last Post: 31 Aug 2010, 12:32 AM -
[FIXED] Combo box selection clicking through to grid underneath
By kjots in forum Ext GWT: Bugs (2.x)Replies: 1Last Post: 23 Nov 2009, 4:43 PM -
Updating combo for grid with unique collection
By josh803316 in forum Ext 2.x: Help & DiscussionReplies: 8Last Post: 8 Mar 2009, 1:52 PM


Reply With Quote