Radio button components enable users to select a single option from a list of alternatives.


Config for Radio Component (using FormComposerV2)

isMandatory: false,
type: "radio",
key: "genders",
label: "Deafult",
disable: false,
populators: {
name: "radio-Deafult",
optionsKey: "name",
error: "Error!",
required: true,
mdmsConfig: {
masterName: "GenderType",
moduleName: "common-masters",
localePrefix: "COMMON_GENDER",

While using the radio component independently and to disable it set the prop as disabled={true}.

For more information: Storybook for radio field

Last updated

All content on this page by eGov Foundation is licensed under a Creative Commons Attribution 4.0 International License.