</> htmx ~ The disable-element Extension

!https://v1.htmx.org/extensions/disable-element/

Copy this post

An extension to disable elements during flight of an htmx request, Looks super useful for things like a create or delete button where the server would end up with an error if you double delete or double create. This eliminates an error path that the user might see under normal use of the ui.