Skip to content

[RadioButtonGroupInput] Hope Support disable some option #3677

@scq000

Description

@scq000

When I use RadioButtonGroupInput component, I wish I can disable some choices by providing a disableValue field which name is disabled.

Example:

 const choices = [
     { id: 123, name: '12' },
     { id: 456, name: '18' },
     { id: 976, name: '30', disabled: true },
  ];
<RadioButtonGroupInput source="age" choices={choices} />

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions