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
I found a strange behaviour of hx-trigger, targeting another element with css selector. When I load the page, the trigger works as expected. But if I change the element it targets, the trigger no longer fires.
This is somewhat understandable, but pretty annoying to be honest.
I found a strange behaviour of hx-trigger, targeting another element with css selector. When I load the page, the trigger works as expected. But if I change the element it targets, the trigger no longer fires.
This is somewhat understandable, but pretty annoying to be honest.
Here is my sample code:
Server side,
/input
just returns<input type="number" id="testIn" value=20></input>
. Nothing special.Before clicking the button,
/div
fires just fine. But after clicking it, it no longer works.The text was updated successfully, but these errors were encountered: