Skip to content

Commit

Permalink
fix(frontend): disable autocomplete on search field (#2592)
Browse files Browse the repository at this point in the history
  • Loading branch information
acortelyou committed Mar 12, 2022
1 parent 223c1f0 commit 82d1617
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Layout/SearchInput/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ const SearchInput: React.FC = () => {
className="block w-full rounded-full border border-gray-600 bg-gray-900 bg-opacity-80 py-2 pl-10 text-white placeholder-gray-300 hover:border-gray-500 focus:border-gray-500 focus:bg-opacity-100 focus:placeholder-gray-400 focus:outline-none focus:ring-0 sm:text-base"
placeholder={intl.formatMessage(messages.searchPlaceholder)}
type="search"
autoComplete="off"
value={searchValue}
onChange={(e) => setSearchValue(e.target.value)}
onFocus={() => setIsOpen(true)}
Expand Down

0 comments on commit 82d1617

Please sign in to comment.