PDA

View Full Version : [CLOSED] combobox select event -- sometimes fires with single record instead of array



dwsnyder
7 Nov 2013, 12:38 PM
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

Gary Schlosberg
8 Nov 2013, 11:01 AM
Thanks for the report! I have opened a bug in our bug tracker.