Skip to content

Commit

Permalink
fix: do not autocomplete live search input
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Berezovskyi <[email protected]>
  • Loading branch information
berezovskyi committed Jan 18, 2025
1 parent dcc932c commit 8fa083b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ trim_trailing_whitespace = false
indent_style = space
indent_size = 4

[*.{xml,html,js,yml,css}]
[*.{xml,html,js,yml,css,jsp}]
indent_style = space
indent_size = 2

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
<main class="container">
<p id="searchMessage">Find a specific OSLC resource through a free-text search.</p>
<div>
<input type="search" id="searchTerms" name="terms" placeholder="Begin typing to search" autofocus
<input type="search" id="searchTerms" name="terms" placeholder="Begin typing to search"
autofocus autocomplete="off"
hx-trigger="input changed delay:120ms, keyup[key=='Enter'], load"
hx-get="<%= selectionUri %>" hx-target="#search-results"
hx-ext="aria-busy">
Expand Down

0 comments on commit 8fa083b

Please sign in to comment.