Radio

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.