downshift-js / downshift

🏎 A set of primitives to build simple, flexible, WAI-ARIA compliant React autocomplete, combobox or select dropdown components.

Home Page:http://downshift-js.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug: Multiple selection with combobox example has filter and input mismatch on docs

ally1002 opened this issue · comments

It is a problem in the use multiple selection with combobox on the website
https://www.downshift-js.com/use-multiple-selection/#usage-with-combobox

What you did:
I encountered this problem on my project, so I went to the docs to search for a solution, but I saw that it is also happening in the docs.

What happened:
I tried this example on how to use multiple selection with combobox, and I noticed an error. When I search for an item and select it, it doesn’t clear the filter, but it clears the input. So I end up with a filter and an empty input.

Here is a gif with the problem

downshift

Problem description:
It is not cleaning the filter after select an item

Suggested solution:
It should clear the filter or have a feedback that it has a value on it