Skip to content

[Feature request] Add disabled-prop, just like value-prop and label #202

@lllopo

Description

@lllopo

I have the following case : the objects in the list that is fed to the component contain a property named 'disabled' and this results in that the options in the multiselect become disabled. The thing is, that I want them to be actually enabled and just rendered differently. A workaround is to loop the objects array and change the property name, but this unnecessary overhead could be easily avoided by adding something like "disabled-prop", which works the same way as "value-prop" and "label" properties. In addition - it would be useful in the opposite cases where a list of objects comes with property that means "disabled", but is named differently.

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