jakezatecky / react-dual-listbox

A feature-rich dual listbox for React.
https://jakezatecky.github.io/react-dual-listbox/
MIT License
110 stars 58 forks source link

how to refresh the options if I need fetch data by using axios after onFilterChange #154

Closed saltovo closed 2 years ago

saltovo commented 3 years ago

the problem is we have many data and we can't put all the data into options, so we want to fetch data by using axios when the user input keywords in search bar.We support to use onFilterChange to achieve it , but if l change the options in onFilterChange on the left side, all the selected data will disappear because the options have changed so that the selected data can't find its value.

saltovo commented 3 years ago

I reslove the problem by change the code; thanks!