Update pkg/web/components/search.templ

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Robin Olsen
2026-02-25 14:02:19 +01:00
committed by GitHub
parent 6da6113ae5
commit aba0c0fd19

View File

@@ -12,7 +12,7 @@ templ SearchForm(props SearchFormProps) {
hx-get={ props.RootURL }
hx-target={ props.Target }
hx-swap="innerHTML"
hx-trigger="input changed delay:400ms from:input[name='q']"
hx-trigger="input changed delay:400ms from:input[name='q'], submit"
hx-vals='{"partial": "true"}'
>
<input