RadioGroupΒΆ
-
/libs/granite/ui/components/coral/foundation/form/radiogroup A container to group a set of radios.
It extends
Fieldcomponent.It has the following content structure:
-
granite:FormRadioGroup
- granite:FormField
- granite:container
- namestring
The name that identifies each radio when submitting the form.
-
deleteHintboolean
- true
trueto generate the SlingPostServlet @Delete hidden input based on the name.
- requiredboolean
Indicates if the field is mandatory to be filled.
- validationstring
- multiple
The name of the validator to be applied. E.g.
foundation.jcr.name. See validation in Granite UI.
- 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 of each item is based on itscheckedproperty.
- verticalboolean
trueto list the radios vertically;falseotherwise.
Each item has the following content structure:
-
granite:FormRadioGroupItem
- granite:commonAttrs
- valuestring
The value of the field.
- fieldDescriptionstring
- i18n
The description of the component.
- disabledboolean
Indicates if the field is in disabled state.
- checkedboolean
trueto pre-check this item,falseotherwise.
- textstring
- i18n
The text of the radio.
- wrapperClassstring
The class for the wrapper element.
-
granite:FormRadioGroup