hx-head to be triggered on entering text field to test if the backend is reachable/ready to receive the content #3248
JonBendtsen
started this conversation in
Ideas
Replies: 1 comment
-
|
Hey, if you are interested in implementing such an attribute, you'll want to make it as a community extension, see our building htmx extensions section as well as the existing extensions list for implementation inspiration! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How about a hx-head call which only does a HEAD request to the server to test if the backend server is reachable and/or alive.
This could be used on a text field triggered already on activating/entering the text field and if the server does not respond to a HEAD request, then some visual feedback to tell the user that continuing typing content is pointless since the server will not receive it.
Beta Was this translation helpful? Give feedback.
All reactions