mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-20 06:37:59 +01:00
Ensure local autocomplete works with search form box
This commit is contained in:
parent
de24436f92
commit
50ceeab6f8
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
h1 Search
|
||||
|
||||
= form_for :search, ~p"/search", [id: "searchform", method: "get", class: "js-search-form", enforce_utf8: false], fn f ->
|
||||
= text_input f, :q, class: "input input--wide js-search-field", placeholder: "Search terms are chained with commas", autocapitalize: "none", name: "q", value: @conn.params["q"]
|
||||
= text_input f, :q, class: "input input--wide js-search-field", placeholder: "Search terms are chained with commas", autocapitalize: "none", name: "q", value: @conn.params["q"], data: [ac: "true", ac_min_length: 3, ac_mode: "search"]
|
||||
|
||||
.block
|
||||
.block__header.flex
|
||||
|
|
Loading…
Reference in a new issue