Support `hx-status:*="#error"`
Hi!
Thank you for the excellent HTMX v4 library!
Are there plans to support `hx-status:*="#error"` to catch all not explicitly handled errors? Currently 4xx and 5xx errors have to be handled separately, even if they have the same target:
* `hx-status:422="#form" hx-status:4xx="#error" hx-status:5xx="#error"`. It is much more convenient to substitute this with just
* `hx-status:422="#form" hx-status:*="#error"`.
Thank you!
2 条评论