bigskysoftware / bigskysoftware/htmx

hx-confirm does not work with hx-ws

Open
#2,470 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
49.4k
Forks
1.7k
Avg merge
3d 22h
Merged PRs (30d)
30

Description

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.,

```html

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.