Skip to content

Commit d13628a

Browse files
committed
Disable autocomplete and autocapitalize
1 parent 0d318e1 commit d13628a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/hexdocs/view/search.gleam

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@ pub fn search(model: Model) {
113113
list.flatten([
114114
[
115115
attribute.id("search-package-input"),
116+
attribute.autocapitalize("off"),
117+
attribute.autocomplete("off"),
116118
attribute.placeholder("Package Name"),
117119
attribute.type_("text"),
118120
attribute.value(
@@ -151,6 +153,8 @@ pub fn search(model: Model) {
151153
list.flatten([
152154
[
153155
attribute.id("search-version-input"),
156+
attribute.autocapitalize("off"),
157+
attribute.autocomplete("off"),
154158
attribute.placeholder("Version"),
155159
attribute.type_("text"),
156160
attribute.value(

0 commit comments

Comments
 (0)