• The radio label.

helper-text - Renders content below the input.

value-missing - Renders content when the required validation fails.

custom-error - Renders content when setCustomValidity(message) is set.

invalid - Renders content when the component is in invalid state (validity.valid = false).

base - The radio control base wrapper.

control - The radio input control.

label - The radio control label.

Callable

  • Returns ReactNode

Events

onChange: (args: CustomEvent<IgrRadioChangeEventArgsDetail>) => void

Emitted when the control's checked state changes.

Type declaration

Methods

  • Removes focus from the radio control.

    Returns void

  • Checks for validity of the control and emits the invalid event if it invalid.

    Returns boolean

  • Simulates a click on the radio control.

    Returns void

  • Sets focus on the radio control.

    Parameters

    • options: FocusOptions

    Returns void

  • Checks for validity of the control and shows the browser message if it invalid.

    Returns boolean

  • Sets a custom validation message for the control. As long as message is not empty, the control is considered invalid.

    Parameters

    • message: string

    Returns void

Properties

checked: boolean

The checked state of the control.

labelPosition: ToggleLabelPosition

The label position of the radio control.

required: boolean
value: string

The value attribute of the control.