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