Radio Group Element

An element used to create a group of radio buttons.

#Examples

#Options

Name Type Description
items object List of checkbox options.
disable array List of option keys to be disabled.
disabled boolean Whether the field is disabled.
default array Value of element when the form is initially loaded or reseted.

#Properties

Name Type Default Description
items object {} List of radio buttons.
disables array [] List of option keys to be disabled.
disabled boolean false Whether the field is disabled.
defaultValue array null Value of element when the form is initially loaded or reseted.

#Methods

# .disable(options)

Parameters
  • options arr|str|num : key of one or more radio buttons to disable.

Disables a radio or more radio buttons.


# .enable(options)

Parameters
  • options arr|str|num : key of one or more radio buttons to enable.

Enables a radio or more radio buttons.


#Slots

# radio

Props
  • el$ object : The element component.
  • item object : The radio item's object.
  • value str|num|bool : The radio item's value.

Contains the radio field.