Skip to main content

setValue()

sets the state for a Checkbox control

setValue(checked: boolean): void;

Parameters:

checked: boolean - the state to be set for the checkbox

Example

form.getItem("checkbox").setValue(true);