Skip to content

is there a way to define the condition to enable / disable fields inside the meta #165

@deekshithmr95

Description

@deekshithmr95

is there a way to define the condition to enable/disable fields inside the meta, For example

const meta = [
{
key: 'favoriteFruit',
label: 'Favorite Fruit',
widget: 'radio-group',
options: ['Apple', 'Orange', 'Other'],
initialValue: 'Apple',
},
{
key: 'disableInput',
label: 'Sample Input to disable if the user selects Orange,
widget: 'input',
},
]

I want to disable the input field if the user selects the Orange from the radio group

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions