Skip to content

LiveRegion call to isOptionDisabled omits secondary argument. #4527

@bartram2

Description

@bartram2

The docs show that the isOptionDisabled prop should be a callback function that accepts two arguments, the option and the selected value. The LiveRegion component does not include the second argument when calling isOptionDisabled, so implementations that rely on the second argument will receive undefined instead.

isDisabled: selected && isOptionDisabled(selected),

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/bug-confirmedIssues about a bug that has been confirmed by a maintainer

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions