Skip to content

💡 Proposal - allow Multiselect component to accept disabled state #2396

@msieroslawska

Description

Forma 36 contribution proposal

The problem

We are currently using Autocomplete component for multiselection, but we would like to migrate it properly to Multiselect. In our case we are using isDisabled prop for Autocomplete to block the whole component before user interacts with another component which then triggers data fetching to populate our Autocomplete. Unfortunately, current implementation of Multiselect only allows disabling single options in the dropdown.

The proposed solution

Expand the interface of Multiselect to accept disabled state which controls if the whole component can be interacted with, similar to the current behavior of Autocomplete:

Screenshot 2023-02-02 at 14 49 04

Breaking changes

None.

Metadata

Metadata

Assignees

No one assigned

    Labels

    in backlogproposalstaleUsed to mark when there was no activity for a set period of time

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions