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 typings are incorrect for onchange event #16433

Closed
2 tasks done
a88zach opened this issue May 10, 2024 · 2 comments · Fixed by #16440
Closed
2 tasks done

[Bug]: Multiselect typings are incorrect for onchange event #16433

a88zach opened this issue May 10, 2024 · 2 comments · Fixed by #16440
Labels
area: typescript severity: 3 User can complete task, and/or has a workaround type: bug 🐛

Comments

@a88zach
Copy link

a88zach commented May 10, 2024

Package

@carbon/react

Browser

No response

Package version

1.57.0

React version

18.3.1

Description

The typings are incorrect for the Multiselect onchange event.
Screenshot 2024-05-10 at 9 41 01 AM

Reproduction/example

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

Steps to reproduce

Load the stackblitz and inspect the compiler error

Suggested Severity

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

Application/PAL

No response

Code of Conduct

@a88zach
Copy link
Author

a88zach commented May 10, 2024

Caused by #16147

cc: @guidari

@ggdawson
Copy link
Contributor

Could be as simple as a local OnChangeData. WIP PR here -> #16440

Not yet clear if that type needs to be exported for broader use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: typescript severity: 3 User can complete task, and/or has a workaround type: bug 🐛
Projects
Status: ✅ Done
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants