Skip to content

Commit

Permalink
style: disable input autocomplete (#197)
Browse files Browse the repository at this point in the history
Fixes #196
  • Loading branch information
razonyang committed Feb 7, 2024
1 parent 0b89e53 commit 1b9b59b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/search/js/form.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default class Form {
<div class="search-input-group">
<span class="search-input-icon">${params.icons['search']}</span>
<span class="search-spinner">${params.icons['spinner']}</span>
<input type="search" name="q" class="search-input search-form-control" placeholder="${i18n.translate('input_placeholder')}" disabled/>
<input type="search" name="q" class="search-input search-form-control" placeholder="${i18n.translate('input_placeholder')}" autocomplete="off" disabled/>
<button class="search-modal-close" type="button">${i18n.translate('cancel')}</button>
</div>
<div class="search-form-meta">
Expand Down

0 comments on commit 1b9b59b

Please sign in to comment.