Skip to content

Commit d9e6e75

Browse files
committed
Disable autocomplete on home page search input
1 parent aad0a67 commit d9e6e75

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/home/templates.templ

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ templ Index(latestNews []news.NewsItem, recentPkgs []packages.PackageSummary) {
6363
<div class="card-body">
6464
<form action="/packages" method="get">
6565
<div class="input-group">
66-
<input type="text" name="search" class="form-control" placeholder="Paketsuche..." aria-label="Paketsuche"/>
66+
<input type="text" name="search" class="form-control" placeholder="Paketsuche..." autocomplete="off" aria-label="Paketsuche"/>
6767
<button class="btn btn-primary d-none d-sm-inline-block" type="submit">Suchen</button>
6868
</div>
6969
</form>

0 commit comments

Comments
 (0)