setValue()
sets the value for a Text control
setValue(value: string | number): void;
Parameters:
value: string | number
- the value to be set
Example
form.getItem("text").setValue("This is the Text control");
sets the value for a Text control
value: string | number
- the value to be setExample
form.getItem("text").setValue("This is the Text control");