Set autofocus on search field

This commit is contained in:
Harshad Sharma 2024-05-21 01:43:22 +05:30
parent d403e5997b
commit fe74397759

View file

@ -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>