disablePasswordManagerAttributes

Type:Function
Status:stable
Since:1.0.0
Platform:js
@blackbyte.sugar.js.dom.form

This function return an object of attributes to apply on a form element to disable the password manager autocomplete feature. It support these password managers:

  • 1Password
  • LastPass
  • Bitwarden
  • Dashlane
  • Browser’s built-in password manager

Return

  1. -Object

    An object of attributes to apply on a form element to disable the password manager autocomplete feature.

Example

import { disablePasswordManagerAttributes } from '@blackbyte/sugar/dom'
const attrs = disablePasswordManagerAttributes();

Todo

  • testsnormal