1.0.6 • Published 5 years ago

disable_input_autocomplete v1.0.6

Weekly downloads
3
License
ISC
Repository
github
Last release
5 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

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago