You found a bug! We've classified it as EXTJS-11680 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha Premium Member
    Join Date
    Oct 2012
    Posts
    17
    Vote Rating
    0
    dwsnyder is on a distinguished road

      0  

    Default combobox select event -- sometimes fires with single record instead of array

    combobox select event -- sometimes fires with single record instead of array


    example:
    https://fiddle.sencha.com/#fiddle/1ej

    Ext version tested:
    • Ext 4.2.1 rev 883
    Browser versions tested against:
    • IE9
    • FF 17.0.9
    DOCTYPE tested against:
    • <html>
    Description:
    • Combobox configured with typeAhead: true and forceSelection: true, sometimes will fire the select event with the second argument as a single record rather than an Array as documented.
    Steps to reproduce the problem:
    • click inside the combo's text field, type the letter 'o'. Because of typeahead, 'one' should be filled in.
    • Now click outside the combobox. Select event is fired, but the second argument is not an Array.
    The result that was expected:
    • Documentation says combobox select event records argument is an array
    The result that occurs instead:
    • function was passed an Object as second argument

  2. #2
    Sencha - Support Team
    Join Date
    Feb 2013
    Location
    California
    Posts
    4,081
    Vote Rating
    69
    Gary Schlosberg has a spectacular aura about Gary Schlosberg has a spectacular aura about Gary Schlosberg has a spectacular aura about

      0  

    Default


    Thanks for the report! I have opened a bug in our bug tracker.

Thread Participants: 1