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
Hello everyone, i'm using react-select-plus and i use onInputChange for calling a service and fetching the options. I've read carefully the documentation and is saying that if we desire to load async options externally we should use the "isLoading" property. But when i've set it in my Select Tag it does not work.
Here is my code:
<Select
id="portf"
options={opts}
isLoading={true}
value={portfolioValue}
onChange={value => portfolioSelector(value, mobileNavCollapsed)}
onInputChange={value =>
searchPortfolioHandler(value)}
/>
Do you have any idea of how to handle this? This is causing me a severe problem because even i have values in my state my list is not refreshing.
The text was updated successfully, but these errors were encountered:
isLoading just causes the spinner animation to appear:
isLoading={false}
isLoading={true}
If the component has that prop but you don't see the spinner, then my guess would be that you don't have the relevant CSS styles loaded for the .Select-loading-zone and .Select-loading elements.
Hello everyone, i'm using react-select-plus and i use onInputChange for calling a service and fetching the options. I've read carefully the documentation and is saying that if we desire to load async options externally we should use the "isLoading" property. But when i've set it in my Select Tag it does not work.
Here is my code:
<Select
id="portf"
options={opts}
isLoading={true}
value={portfolioValue}
onChange={value => portfolioSelector(value, mobileNavCollapsed)}
onInputChange={value =>
searchPortfolioHandler(value)}
/>
Do you have any idea of how to handle this? This is causing me a severe problem because even i have values in my state my list is not refreshing.
The text was updated successfully, but these errors were encountered: