ITADN

Support `hx-status:*="#error"`

#3894Openvolodymyrprokopyuk 创建于 2026-07-14
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 条评论