Password
The Password
type generates a password field.
Settings
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
-
- 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
-
- Type
- string
Placeholder text for the field.
required
-
- Type
- boolean
- Default
- false
If set, the field becomes mandatory.
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!