1.0.6 • Published 6 years ago

disable_input_autocomplete v1.0.6

Weekly downloads
3
License
ISC
Repository
github
Last release
6 years ago

disable input autocomplete

Disable browser autocomplete without jQuery and 'autocomplete="off"'

How to use

  1. Require 'disableAutocomplete.min.js' to your project or import index.js.
  2. Pass the input id to the 'disableInputAutocomplete' class and call the 'disable()' method.

Example

import {disableInputAutocompleteClass} from "disable_input_autocomplete";
<input name="username" id="myId"/>
<script>
  new disableInputAutocompleteClass('myId').disable();
</script>

Or

import {disableInputAutocomplete} from "disable_input_autocomplete";
<input name="username" id="myId"/>
<script>
  disableInputAutocomplete('myId');
</script>
1.0.6

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago