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

DropDown filter input when using onInput prop #5306

Closed
fras-alfurasy opened this issue Nov 13, 2023 · 1 comment
Closed

DropDown filter input when using onInput prop #5306

fras-alfurasy opened this issue Nov 13, 2023 · 1 comment
Labels
Status: Needs Reproducer Issue needs a runnable reproducer

Comments

@fras-alfurasy
Copy link

Describe the bug

When I want to use the input filter in the dropdown it works fine then I want to use the onInput prop to make my own filtering for the dropdown elements when I console the event.target.value it console everything that I write in the input field of the filter but when I want to set the value to set state method it just make me type two letters and get cleared by it self and when I remove the set state method it works fine so I need help in this

Reproducer

No response

PrimeReact version

10.0.9

React version

18.x

Language

TypeScript

Build / Runtime

Vite

Browser(s)

Chrome

Steps to reproduce the behavior

No response

Expected behavior

No response

@fras-alfurasy fras-alfurasy added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Nov 13, 2023
@melloware melloware added Status: Needs Reproducer Issue needs a runnable reproducer and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Nov 13, 2023
Copy link

Please fork the CodeSandbox project or Stackblitz project and create a case demonstrating your bug report. This issue will be closed if no activities in 20 days.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Reproducer Issue needs a runnable reproducer
Projects
None yet
Development

No branches or pull requests

2 participants