You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The WebSocket extension does not respect hx-confirm (a confirmation dialogue is not shown and the WebSocket call is made as if hx-confirm was not specified).
Workaround
Manually implement equivalent functionality on ws-before-send.
e.g.,
<form@htmx:ws-before-send='if (!window.confirm("Are you sure?")) $event.preventDefault()'
…>
The text was updated successfully, but these errors were encountered:
The WebSocket extension does not respect
hx-confirm
(a confirmation dialogue is not shown and the WebSocket call is made as ifhx-confirm
was not specified).Workaround
Manually implement equivalent functionality on
ws-before-send
.e.g.,
The text was updated successfully, but these errors were encountered: