How to set input value using downshift in reactjs

Viewed 430

I'm creating autocomplete input text box using downshiftjs. When the result of autocomplete is clicked, I can't set the input text.

I'm creating the sample code codesandbox.io

The autocomplete is working:

enter image description here

And it's searchable:

enter image description here

When I click the item, I can't set the input box value with the item I clicked.

1 Answers
Related