RadioGroup ========== .. granite:servercomponent:: /libs/granite/ui/components/coral/foundation/form/radiogroup :supertype: /libs/granite/ui/components/coral/foundation/form/field A container to group a set of radios. It extends :granite:servercomponent:`Field ` component. It has the following content structure: .. gnd:gnd:: [granite:FormRadioGroup] > granite:FormField, granite:container /** * The name that identifies each radio when submitting the form. */ - name (String) /** * ``true`` to generate the `SlingPostServlet @Delete `_ hidden input based on the name. */ - deleteHint (Boolean) = true /** * Indicates if the field is mandatory to be filled. */ - required (Boolean) /** * The name of the validator to be applied. E.g. ``foundation.jcr.name``. * See :doc:`validation ` in Granite UI. */ - validation (String) multiple /** * If ``false``, the checked status is based on matching the form values by ``name`` and ``value`` properties. * Otherwise, the form values are not matched, and the checked status of each item is based on its ``checked`` property. */ - ignoreData (Boolean) /** * ``true`` to list the radios vertically; ``false`` otherwise. */ - vertical (Boolean) Each item has the following content structure: .. gnd:gnd:: [granite:FormRadioGroupItem] > granite:commonAttrs /** * The value of the field. */ - value (String) /** * The description of the component. */ - fieldDescription (String) i18n /** * Indicates if the field is in disabled state. */ - disabled (Boolean) /** * ``true`` to pre-check this item, ``false`` otherwise. */ - checked (Boolean) /** * The text of the radio. */ - text (String) i18n /** * The class for the wrapper element. */ - wrapperClass (String)