Skip to content

Commit

Permalink
Disable browser autocomplete in node search menu (#450)
Browse files Browse the repository at this point in the history
Closes #445.
  • Loading branch information
fedarko authored Nov 24, 2020
1 parent 7ad942c commit ae42a08
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion empress/support_files/templates/side-panel.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
<!-- The Header bar -->
<div id="autocomplete-container">
<p class="side-header">
<!-- Attempt to stop the browser's autocomplete suggestions, since Empress
shows its own autocomplete menu (see #445 on GitHub)
-->
<input type="text" id="quick-search" placeholder="Search by node name..."
style="flex-grow: 1;" class="empress-input">
style="flex-grow: 1;" autocomplete="off" class="empress-input">
<button id="side-header-search-btn" style="flex-grow: 1;">Search</button>
<button id="hide-ctrl" title="Hide control panel"
style="font-size: 10pt; padding: 0 0 3px 3px;">&#9701;</button>
Expand Down

0 comments on commit ae42a08

Please sign in to comment.