Update pkg/web/components/search.templ
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -12,7 +12,7 @@ templ SearchForm(props SearchFormProps) {
|
|||||||
hx-get={ props.RootURL }
|
hx-get={ props.RootURL }
|
||||||
hx-target={ props.Target }
|
hx-target={ props.Target }
|
||||||
hx-swap="innerHTML"
|
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"}'
|
hx-vals='{"partial": "true"}'
|
||||||
>
|
>
|
||||||
<input
|
<input
|
||||||
|
|||||||
Reference in New Issue
Block a user