Password Field

<sw-password-field> extends <sw-text-field>

ready
password input field.

Usage

Loading...
<sw-password-field type="password" label="Name" placeholder="placeholder goes here..."></sw-password-field>

Component properties

Property name Type Default
passwordToggleAble Boolean true
autocomplete String

Methods

Method name Parameters
onTogglePasswordVisibility disabled

Imports

  • ./sw-password-field.html.twig
  • ./sw-password-field.scss

Twig blocks

  • sw_text_field
  • sw_password_field