Closed saver711 closed 1 day ago
Hello. I haven't figured out what to do in case of an error. Stopping loading after error doesn't seem a good solution because it may be caused by a short internet disconnection. Perhaps needs to consider a new property like reloadOnErrorTimeout
.
As fast solution of your case you can wrap the fetch flow in a try/catch
block.
@vtaits ok but what to do in catch block can u try to edit on the Stackblitz i can't find a way to stop api calls the select is making i really like this package and i want to use it but this behavior breaks the app
Mainly what we need to do is:
@vtaits How would you refetch?
Type something in the input or refresh the page. I'll implement reloadOnErrorTimeout
in the next version.
I'm facing the same error, when will this new feature be available?
Hello. Published in 0.7.6
What is the current behavior?
It keeps on fetching when the is error on first load
What is the expected behavior?
it should try once and maybe have retry icon to retry
Sandbox Link
LINK
Reproduce
just change the URL to simulate an error and try to open the select and notice browser's network tab