Skip to content

Commit

Permalink
feat: disable spellcheck and autocomplete in search input
Browse files Browse the repository at this point in the history
Add `spellcheck="false"` and `autocomplete="off"` attributes to the 
search input field in the channel list component. This improves 
user experience by preventing the browser from suggesting 
incorrect spellings and previously entered values, ensuring a 
cleaner and more focused search experience.
  • Loading branch information
4gray committed Nov 28, 2024
1 parent 1d3382a commit 3d0dd1d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
matInput
class="full-width"
type="search"
spellcheck="false"
autocomplete="off"
#search
[placeholder]="'CHANNELS.SEARCH_CHANNEL' | translate"
[(ngModel)]="searchTerm.name"
Expand Down

0 comments on commit 3d0dd1d

Please sign in to comment.