May 25, 2017, 3:13 AM
[CLOSED] Possible breaking change in 3.x to 4.x upgrade
Support,
See example below. THe store is simple id/description so i didnt bother to include it.
I am well aware of the bug that we accidentally called expand on the Store instead of the Combo. However, this worked (without a JS error) in 3.x. By worked, i mean it didnt crash (but didnt expand either).
We just upgraded to v4 and this now throws an JS error.
While a bug (in my code), it is a breaking change.
Thanks,
/Z
See example below. THe store is simple id/description so i didnt bother to include it.
I am well aware of the bug that we accidentally called expand on the Store instead of the Combo. However, this worked (without a JS error) in 3.x. By worked, i mean it didnt crash (but didnt expand either).
We just upgraded to v4 and this now throws an JS error.
While a bug (in my code), it is a breaking change.
Thanks,
/Z
<ext:ComboBox ID="ComboBox1"
runat="server"
DisplayField="description"
HideLabel="true"
ValueField="id"
QueryMode="Local"
StoreID="Store1"
EmptyText="Select ...">
<Triggers>
<ext:FieldTrigger Icon="Clear" Qtip="Remove selected" />
</Triggers>
<ListConfig LoadingText="Loading..." />
<Listeners>
<Focus Handler="#{Store1}.load();#{Store1}.expand();" Single="true" />
<TriggerClick Handler="this.clearValue();" />
</Listeners>
</ext:ComboBox>
Last edited by fabricio.murta; Jun 09, 2017 at 6:30 PM.
Reason: the customer just wanted to document a breaking change