Skip to content
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

In cases of slow internet speed, the user does not understand that the process is in progress #12

Open
cnr91 opened this issue Dec 16, 2024 · 1 comment

Comments

@cnr91
Copy link

cnr91 commented Dec 16, 2024

The button should be disabled on click and a spinner should be added to recognize the click.
For some reason not all examples care about this issue.

image

image

@bblanchon
Copy link
Owner

bblanchon commented Dec 16, 2024

You can use hx-indicator to display a spinner and hx-disabled-elt to disable the button.

The goal of this repository is to demonstrate how you can open/hide dialogs with Django and HTMX.
Adding bells and whistles would blur the message; that's why there are no spinners in the examples.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants