Skip to content

Commit

Permalink
Disabled autocomplete for search form
Browse files Browse the repository at this point in the history
  • Loading branch information
audetv committed Mar 25, 2023
1 parent 1233c07 commit 10f0d37
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/frontend/views/site/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
[
'method' => 'GET',
'action' => ['site/index'],
'options' => ['class' => 'pb-1 mb-2 pt-3'],
'options' => ['class' => 'pb-1 mb-2 pt-3', 'autocomplete' => 'off'],
]
); ?>
<div class="d-flex align-items-center">
Expand All @@ -63,7 +63,8 @@
[
'type' => 'search',
'class' => 'form-control form-control-lg',
'placeholder' => "Поиск"
'placeholder' => "Поиск",
'autocomplete' => 'off',
]
)->label(false); ?>
</div>
Expand Down

0 comments on commit 10f0d37

Please sign in to comment.