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]: TableToolbarSearch onChange does not accept DataTable onInputChange #18177

Open
2 tasks done
adamalston opened this issue Nov 28, 2024 · 0 comments
Open
2 tasks done

Comments

@adamalston
Copy link
Contributor

Package

@carbon/react

Browser

No response

Package version

1.67.1

React version

No response

Description

The TableToolbarSearch component's onChange prop does not accept DataTable's onInputChange prop without error. Despite this issue, the examples in https://react.carbondesignsystem.com/?path=/docs/components-datatable-toolbar--overview show onInputChange being passed to the onChange. I'm assuming that types need to be updated.

Reproduction/example

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

Steps to reproduce

See the reproduction.

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