RadioΒΆ
-
/libs/granite/ui/components/foundation/form/radio A radio component.
It extends
Fieldcomponent.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
relattribute.
- classstring
The class attribute.
- titlestring
- i18n
The title attribute.
- namestring
The name that identifies the field when submitting the form.
-
deleteHintboolean
- true
trueto 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
checkedproperty (eithertrueorfalse) will implyignoreDatato betrue.
- ignoreDataboolean
If
false, the checked status is based on matching the form values bynameandvalueproperties. Otherwise, the form values are not matched, and the checked status is based oncheckedproperty specified. For radios in a radio groupignoreDatamust be set on the group.
- textstring
- i18n
The text of the radio.