Skip to content

Dropdown with search input #867

Discussion options

You must be logged in to vote

That's the propagation problem at all. I was inserting custom search input inside of dropdown from Flowbite-react! so onChange listener even didn't called at all! all you have to do is adding onKeyDown event listener to your input and include event.stopPropagation() inside this listener! after that onChange listener will got your input.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@grasdira
Comment options

@tulup-conner
Comment options

Comment options

You must be logged in to vote
1 reply
@grasdira
Comment options

Answer selected by grasdira
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants