setValue()
sets the value for a Combo control
setValue(value: string | string[]): void;
Parameters:
value: string | string[]
- the id(s) of items from data collection that should be selected in the control
Example
form.getItem("combo").setValue("id_1");
You should set the value as a string (either as "id_1" or ["id_1"]), if multiselection:false is set or the multiselection config is not defined, otherwise - set the value as an array of string values.