Skip to content

Commit

Permalink
disable autocorrect and autocapitalize on iOS
Browse files Browse the repository at this point in the history
Signed-off-by: Guillaume Hivert <[email protected]>
  • Loading branch information
ghivert committed May 23, 2024
1 parent 2643da2 commit 23bd350
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ pub fn view(
a.placeholder("Search for a function, or a type"),
e.on_input(msg.UpdateInput),
a.value(input),
a.attribute("autocorrect", "off"),
a.attribute("autocapitalize", "none"),
]),
]),
]),
Expand Down

0 comments on commit 23bd350

Please sign in to comment.