RadioΒΆ
-
/libs/granite/ui/components/foundation/form/radio
A radio component.
It extends
Field
component.It has the following content structure:
- granite:FormRadio
- idstring
The id attribute.
- relstring
The class attribute. This is used to indicate the semantic relationship of the component similar to
rel
attribute.
- classstring
The class attribute.
- titlestring
- i18n
The title attribute.
- namestring
The name that identifies the field when submitting the form.
-
deleteHintboolean
- true
true
to generate the SlingPostServlet @Delete hidden input based on the name.
- valuestring
The value of the field.
- disabledboolean
Indicates if the field is in disabled state.
- checkedboolean
Indicates if the radio is checked. Providing
checked
property (eithertrue
orfalse
) will implyignoreData
to betrue
.
- ignoreDataboolean
If
false
, the checked status is based on matching the form values byname
andvalue
properties. Otherwise, the form values are not matched, and the checked status is based onchecked
property specified. For radios in a radio groupignoreData
must be set on the group.
- textstring
- i18n
The text of the radio.