Skip to content

Commit

Permalink
add autofocus to search input control
Browse files Browse the repository at this point in the history
  • Loading branch information
inoas authored Jul 24, 2024
1 parent 451f1d2 commit 4373a8c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ pub fn view(loading loading: Bool, input input: String, small small: Bool) {
a.value(input),
a.attribute("autocorrect", "off"),
a.attribute("autocapitalize", "none"),
a.attribute("autofocus", "autofocus"),
]),
s.shortcut_hint([], [el.text(modifier <> " + K")]),
]),
Expand Down

0 comments on commit 4373a8c

Please sign in to comment.