Skip to content

Need to add 'disabled' props for options for making specific options disabled. like 'react-select' #80

@AbhaysinghBhosale

Description

@AbhaysinghBhosale

Please include a clear and concise description of the feature or enhancement you would like to have added to the project.

As we render the list of select option we can make some options disabled as per required. In such case there should be a props with options object which will state either this option is disabled or enabled .

Example is below
options should be like this

const options = [ { value: 'one', label: 'Option One' , disabled: true}, { value: 'two', label: 'Option Two' , disabled: false}, ];

So option 'one' will be shown but will be disabled in the list.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions