htmx icon indicating copy to clipboard operation
htmx copied to clipboard

response-target extension changes the hx-on::after-request error and successul flags

Open unaor opened this issue 11 months ago • 0 comments

i have installed the extention and it works as expected but swapping html in the #errors divs however, i have noticed that the event after-request object is modified in a stange way like shown in the picture image the event.detail.failed is set to true

i followed the documentation to add the following meta tag im basically trying to call a function based on the success or failure after the swap

unaor avatar Feb 26 '24 19:02 unaor