Skip to content

Commit

Permalink
fix: set the name attribute for search input
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Dec 3, 2023
1 parent 6174428 commit c567d21
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" 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')}" disabled/>
<button class="search-modal-close" type="button">${i18n.translate('cancel')}</button>
</div>
<div class="search-form-meta">
Expand Down

0 comments on commit c567d21

Please sign in to comment.