Skip to content

Combobox - Incorrect PropTypes type for 'disabled' prop in options array. #2988

@Streudal

Description

@Streudal

I'm getting an error for the 'disabled' prop that is part of option object for the options prop on the Combobox component. Here is the error:

image

and the current shape of the object for options in combobox.jsx:
image

I believe the fix is to just make the 'disabled' prop PropTypes.bool instead of PropTypes.boolean and all should be good to go. Just like this:
image

I tested this by changing it from the node_modules directory and the error went away. Please let me know if I can be of any more assistance in this.

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