-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add loading state class to input #105
Comments
prigaux
added a commit
to UnivParis1/autocomplete
that referenced
this issue
Jan 8, 2024
From denis-taran#105 but stop loading if no result
prigaux
added a commit
to UnivParis1/autocomplete
that referenced
this issue
Jan 9, 2024
From denis-taran#105 but stop loading if no result
prigaux
added a commit
to UnivParis1/autocomplete
that referenced
this issue
Jan 15, 2024
From denis-taran#105 but stop loading if no result
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Please no stale bot. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It would be useful to add a "loading" state class to the autocomplete input that could be used to add for example a background spinner to indicate that the autocomplete is loading data. This can be done easily with this code in the
startFetch
function:Then it can be used with CSS code like this:
The text was updated successfully, but these errors were encountered: