I'm developing an extjs 6 application and recently figured out that it's not possible to set the value of a ComboBox using the setValue(value)
method when its store doesn't contain a record with a valueFiled
equals to value
as described here
http://docs.sencha.com/extjs/6.0/6.0.0-classic/#!/api/Ext.form.field.ComboBox-method-setValue.
So my question is is there any other way to change the value of the ComboBox when its store is empty (or doesn't contain a record with valueFiled
equals to value
) ?