Components
Components

Radio group

Tag: <we-radio-group>
Standard module: we_radio_group

Single-choice control using a caller-provided option list.

Features

  • Renders caller-provided options as one selection.
  • Emits change when the selected value changes.

Public parameters

JavaScript property HTML attribute Type Initial value Purpose
label label String '' Text label shown to the user.
name name String '' Form or field name.
disabled disabled Boolean false Whether interaction is disabled.
options options Array — Available choices supplied by the caller.
value value String — Current selected value.

Public methods

No @apiFunction methods are declared.

Events

  • change is emitted as a DOM custom event.

Source: working/environment_modules/standard/we_radio_group/WebComponent/WeRadioGroup.js.

All components