Skip to main content

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");