Skip to content

Commit

Permalink
#197 add parameter autocomplete to off on every search input
Browse files Browse the repository at this point in the history
  • Loading branch information
iampz committed Sep 26, 2024
1 parent 0fab65b commit 86ecb04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ function Navbar({ searchInputValue, setSearchInputValue }) {
aria-label="ค้นหาคำภายในร่างบทบัญญัติ เลขมาตรา หรือผู้อภิปราย"
value={searchInputValue}
className="focus:outline-none w-full"
autocomplete="off"
placeholder="ค้นหาคำภายในร่างบทบัญญัติ, เลขมาตรา หรือผู้อภิปราย"
ref={searchInputRef}
onChange={(e) => setSearchInputValue(e.target.value)}
Expand Down
1 change: 1 addition & 0 deletions src/pages/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export default function Home() {
name="search-input"
aria-label="ค้นหาคำภายในร่างบทบัญญัติ เลขมาตรา หรือผู้อภิปราย"
className="flex-auto focus:outline-none w-full"
autocomplete="off"
></input>
</div>
</div>
Expand Down

0 comments on commit 86ecb04

Please sign in to comment.