You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To be noticed: The code for Implementing the muti-select is the same as the one from [ Async Search with Debounce and Creatable ], I copy and paste it into my nextjs project.
Issue: When the loading state is triggered, it seems unstoppable to complete the search, until clear out the input then the results finally show up.
The text was updated successfully, but these errors were encountered:
It's solved. It turns out I accidentally auto-updates the deps of onSearch in the useEffect of doSearch.
It is working as expected after I removed the onSearch and disable the eslint.
To be noticed: The code for Implementing the muti-select is the same as the one from [ Async Search with Debounce and Creatable ], I copy and paste it into my nextjs project.
Issue: When the loading state is triggered, it seems unstoppable to complete the search, until clear out the input then the results finally show up.
The text was updated successfully, but these errors were encountered: