Skip to content

Commit

Permalink
Merge pull request #84 from fpgaminer/no-spellcheck-search
Browse files Browse the repository at this point in the history
Disable spellcheck on Search field.
  • Loading branch information
fpgaminer committed Nov 6, 2022
2 parents 7a63ce0 + 733f2af commit e5f0f6c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ui/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "fortress",
"private": true,
"version": "2.2.1",
"version": "2.2.2",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
2 changes: 1 addition & 1 deletion ui/src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
authors = ["fpgaminer"]
name = "fortress"
version = "2.2.1"
version = "2.2.2"
license = "MIT/Apache-2.0"
repository = "https://github.com/fpgaminer/fortress"
description = "Password manager"
Expand Down
10 changes: 9 additions & 1 deletion ui/src/ViewDatabase.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,15 @@ function ViewDatabase() {
return (
<div className="view-database container">
<div className="view-database-header">
<input type="search" placeholder="Search..." onChange={onSearchChange} autoFocus />
<input
type="search"
placeholder="Search..."
onChange={onSearchChange}
autoFocus
autoComplete="off"
spellCheck="false"
autoCorrect="off"
/>
<button type="button" title="Add Entry" onClick={onAddEntryClicked}>
<Icon icon={add24Filled} className="icon" width="24" />
</button>
Expand Down

0 comments on commit e5f0f6c

Please sign in to comment.