forked from hiway/freedive
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"
|
name="search"
|
||||||
value={@query}
|
value={@query}
|
||||||
phx-keyup="search"
|
phx-keyup="search"
|
||||||
|
autofocus
|
||||||
/>
|
/>
|
||||||
<.icon for="search" size="1.5rem" aria-hidden="true" is-left />
|
<.icon for="search" size="1.5rem" aria-hidden="true" is-left />
|
||||||
</.control>
|
</.control>
|
||||||
|
|
Loading…
Reference in a new issue