tbleckert / react-select-search

⚡️ Lightweight select component for React
https://react-select-search.com
MIT License
674 stars 149 forks source link

Old values is missing after search and set new value #238

Open Frozzy6 opened 2 years ago

Frozzy6 commented 2 years ago

https://github.com/tbleckert/react-select-search/blob/a42a84ff9ea049f5ba9368841e4375cee1cd8486/src/useSelect.js#L103

controlled multiple with fuzzy search

  1. Choose options
  2. Search options witch does not include previous
  3. Choose another
  4. Previous value is missing

I bet "options" should be changed to "defaultOptions"