Skip to content

[Combobox] Clear input after selection ? #873

Answered by tdurand
tdurand asked this question in Q&A
Discussion options

You must be logged in to vote

Ok I found out my mistake, I need to control the value of the combobox input

<ComboboxInput
              value={term}
              onChange={handleChange}
/>

and then on the onSelect handler of Combobox just set the state of the value to ""

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tdurand
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant