[ExtJs4 - 4.0.2] Multi-select combobox clearing value on first trigger
If I define a combo control, set multiSelect to true, and then (after it has been rendered):
1 - call setValue([arr]) on it before the list drops down the first time (eg, in response to the event from another control),
2 - click the trigger to change the selection;
the values that were set (properly) get cleared in the BoundList. I traced through the code and found that the onMaskBeforeShow handler specifically calls "me.getSelectionModel().deselectAll();".
This effectively keeps me from setting multiple values and then changing them; I have to select the new set from scratch. Seems like a bug to me.
Never mind. I found the reference in the code that instructs setting lastQuery='' in order to keep from the clearing the initial values.