enable()
enables a Select control or a specific option inside the control
enable(value?: string | number): void;
Parameters:
value: string | number
- optional, the value of a specific option inside the control
Example
form.getItem("select").enable(1);
Change log: The value parameter was added in v8.0