Loading indicator in Search bar #475
Answered
by
mrchief
aishwarya2392
asked this question in
Q&A
-
Is it possible to have a loading indicator in the Input search bar(similar to react-select) to indicate that the data is loading? |
Beta Was this translation helpful? Give feedback.
Answered by
mrchief
Mar 31, 2021
Replies: 1 comment 2 replies
-
Let me know if you've a different use case in mind. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
aishwarya2392
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
data
is always there since it's the caller that fetches it and assigns it - so there's no loading state. Now if you want to show a loading indicator while you're fetching then in that case, I think you can hide the component and show a loader and once the data is fetched, toggle back the component.Let me know if you've a different use case in mind.