Hi,
First : thank you so much for this package!
When I added isMulti on the AsyncSelect, I don't see the different options loaded, always empty:
import AsyncSelect from 'react-select/async';
...
const loadOptions = async (inputValue, callback) => {
let data = await axios.get(route('dashboard.tags.searchTag'), { params: { name: inputValue } }).then((response) => {
const options = [];
response.data.data.forEach((item) => {
options.push(item);
});
return options;
});
callback(data);
};
...
<AsyncSelect
isMulti
value={post.tags}
onChange={handleChange}
loadOptions={loadOptions}
getOptionLabel={(option) => option.name}
/>
Without isMulti on AsyncSelect, I see the different options:

I used "react-select": "^5.6.0"
Hi,
First : thank you so much for this package!
When I added isMulti on the AsyncSelect, I don't see the different options loaded, always empty:
Without isMulti on AsyncSelect, I see the different options:
I used "react-select": "^5.6.0"