setValue()
sets the value for a Select control
setValue(value: string | number): void;
Parameters:
value: string | number
- the value to be set
Example
form.getItem("select").setValue("2");
sets the value for a Select control
value: string | number
- the value to be setExample
form.getItem("select").setValue("2");