Skip to content

Commit

Permalink
Merge pull request #9 from inoas/patch-1
Browse files Browse the repository at this point in the history
add autofocus to search input control
  • Loading branch information
ghivert authored Aug 2, 2024
2 parents b427578 + 4373a8c commit fb878db
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,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("s")]),
]),
Expand Down

0 comments on commit fb878db

Please sign in to comment.