Set autofocus on search field
This commit is contained in:
parent
d403e5997b
commit
fe74397759
1 changed files with 1 additions and 0 deletions
|
@ -70,6 +70,7 @@ defmodule Liliform.Page do
|
|||
name="search"
|
||||
value={@query}
|
||||
phx-keyup="search"
|
||||
autofocus
|
||||
/>
|
||||
<.icon for="search" size="1.5rem" aria-hidden="true" is-left />
|
||||
</.control>
|
||||
|
|
Loading…
Reference in a new issue