Skip to content

Commit

Permalink
Disable form autocompletion and submission
Browse files Browse the repository at this point in the history
Resolve #1 and #2.

The form autocompletion gets in the way of usability since
suggestions and history do not add any value when searching
for npm package names.

The form submission causes a refresh, which negatively impacts UX.
  • Loading branch information
remarkablemark committed Sep 8, 2016
1 parent 296d819 commit 1d71404
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</a>

<!-- Main -->
<form action="#">
<form action="#" autocomplete="off" onsubmit="return false;">

<!-- Field -->
<div class="mdl-textfield mdl-js-textfield display-4">
Expand Down

0 comments on commit 1d71404

Please sign in to comment.