isDisabled()
checks whether a RadioGroup control or a specific element inside the control is disabled
isDisabled(id?: string): boolean;
Parameters:
id: string- optional, the id of a specific element inside the RadioGroup control
Returns:
true, if a control or a specific element is disabled; otherwise, false.
Example
form.getItem("radiogroup").isDisabled("id_1");
// -> true/false
Change log: The id parameter was added in v8.0