hx-trigger once and delay do not work together. #1310
Answered
by
BobSquarePants
BobSquarePants
asked this question in
Q&A
-
|
Hi everyone, on a form element when I use <form hx-post="/URL" hx-target="#AnElement" hx-trigger="once delay:0.5s">It seem that and it fire directly, so no delay. Any ideas ? |
Beta Was this translation helpful? Give feedback.
Answered by
BobSquarePants
Feb 27, 2023
Replies: 1 comment
-
|
Oh no I get it , I should had specify which DOM event was firing the trigger <form hx-post="/URL" hx-target="#AnElement" hx-trigger="submit delay:0.5s"> |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
BobSquarePants
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Oh no I get it , I should had specify which DOM event was firing the trigger