Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User Tim Toady's Avatar
    Join Date
    Feb 2010
    Location
    Pennsylvania
    Posts
    548
    Vote Rating
    115
    Tim Toady is a name known to all Tim Toady is a name known to all Tim Toady is a name known to all Tim Toady is a name known to all Tim Toady is a name known to all Tim Toady is a name known to all

      0  

    Default [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()

  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    95
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    Duplicate of bug #1033 (fix will be in Ext 3.3.1).

  3. #3
    Sencha Premium Member tobiu's Avatar
    Join Date
    May 2007
    Location
    Munich (Germany)
    Posts
    2,688
    Vote Rating
    112
    tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all

      0  

    Default


    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
    Best regards
    Tobias Uhlig
    __________

    S-CIRCLES Social Network Engine

Similar Threads

  1. Replies: 8
    Last Post: 11 Nov 2010, 10:33 PM
  2. Replies: 1
    Last Post: 13 Oct 2010, 1:08 AM
  3. Replies: 10
    Last Post: 31 Aug 2010, 12:32 AM
  4. Replies: 1
    Last Post: 23 Nov 2009, 4:43 PM
  5. Updating combo for grid with unique collection
    By josh803316 in forum Ext 2.x: Help & Discussion
    Replies: 8
    Last Post: 8 Mar 2009, 1:52 PM

Thread Participants: 2