Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: MultiSelect compareItems parameter types are not correct #18199

Open
2 tasks done
adamalston opened this issue Dec 4, 2024 · 0 comments
Open
2 tasks done

[Bug]: MultiSelect compareItems parameter types are not correct #18199

adamalston opened this issue Dec 4, 2024 · 0 comments

Comments

@adamalston
Copy link
Contributor

Package

@carbon/react

Browser

No response

Package version

1.67.1

React version

No response

Description

The types for the compareItems prop's parameters are not correct. Each parameter is a strings, not an ItemType.

Reproduction/example

https://stackblitz.com/edit/github-79u5xe?file=src%2FApp.tsx

Steps to reproduce

See reproduction and type error.

Suggested Severity

Severity 3 = User can complete task, and/or has a workaround within the user experience of a given component.

Application/PAL

DataPower

Code of Conduct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: ⏱ Backlog
Development

No branches or pull requests

2 participants