Skip to content

Commit 23bd350

Browse files
committed
disable autocorrect and autocapitalize on iOS
Signed-off-by: Guillaume Hivert <hivert.is.coming@gmail.com>
1 parent 2643da2 commit 23bd350

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

apps/frontend/src/frontend/view/search_input/search_input.gleam

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ pub fn view(
3838
a.placeholder("Search for a function, or a type"),
3939
e.on_input(msg.UpdateInput),
4040
a.value(input),
41+
a.attribute("autocorrect", "off"),
42+
a.attribute("autocapitalize", "none"),
4143
]),
4244
]),
4345
]),

0 commit comments

Comments
 (0)