Skip to content

Releases: slackero/bootstrap-show-password-toggle

v1.3.3

06 Nov 19:49
v1.3.3
af18924
Compare
Choose a tag to compare

Added jQuery compatible script.

For browsers without Element.after() load the show-password-toggle-jquery.min.js script instead.
jQuery or Cash needs to be loaded before.

v1.3.1

31 Oct 07:27
v1.3.1
6e1bdd9
Compare
Choose a tag to compare
  • Works with multiple input[type=password].
  • The aria-label of the toggle button can be customized adding data-show and data-hide attributes to the password input.
  • The toggle button is added by JavaScript — remove existing <button> tags when upgrading.
  • The toggle button is always visible.
  • Fixes the problem that the toggle icon can be hidden when autofill is active.
  • Added aria-pressed attribute to the toggle button.
  • Updated demos.