Feedback Laraform is now in maintenance mode. Read more on our GitHub.

Radio Element

An element used to render radio button.

#Examples

#Options

Name Type Description
text string Text appears next to the radio.
value str|num|bool Value of the radio button.
fieldName string Name to be used for the radio input name attribute.
default string Value of element when the form is initially loaded or reseted.
disabled boolean Whether the field is disabled.

#Properties

Name Type Default Description
disabled boolean false Whether the field is disabled.
text string null Text appears next to the radio.
radioValue str|num|bool '1' Value of the radio button.
defaultValue str|num|bool null Value of element when the form is initially loaded or reseted.
fieldName string null Name of the input field.

#Methods

# .disable()

Disabled the field.


# .enable()

Enables the field.


# .check()

Checks the radio.


# .uncheck()

Unhecks the radio.