Password

The Password type generates a password field.

Settings

Name Type Default Required
bool true
string
string
boolean false
integer

hashed

hashed
Type
bool
Default
true

Whether the password should be hashed with the configured hashing algorithm. Set this value to false to disable hashing.

passwordPolicy

passwordPolicy
Type
string

The password policy will ensure, that the new password complies with the configured password policy.

Password policy requirements are shown below the password field, when the focus is changed to the password field.

placeholder

placeholder
Type
string

Placeholder text for the field.

required

required
Type
boolean
Default
false

If set, the field becomes mandatory.

size

size
Type
integer

Abstract value for the width of the <input> field.

Examples

Minimal

name: example/password
fields:
  - identifier: password
    type: Password
Copied!

Advanced / use case

name: example/password
fields:
  - identifier: password
    type: Password
    required: true
    hashed: false
    passwordPolicy: 'default'
    fieldControl:
      passwordGenerator:
        renderType: passwordGenerator
Copied!