Password
Add a password field.
Add a password field.
Block metadata
| Field | Value |
|---|---|
| Name | xp/form-field-password |
| Title | Password |
| Category | xpac-form-generic-field |
| API version | 3 |
| Keywords | xpac, form, field, password |
| Package | user-profiles |
| Metadata file | dist/packages/user-profiles/auth/blocks/password/block.json |
Supports
| Feature | Value |
|---|---|
className | Disabled |
Attributes
| Name | Type | Default | Source/Enum |
|---|---|---|---|
additionalAttributes | object | {} | — |
description | string | "" | source html; selector .xp-block-form-field__description |
id | string | "" | — |
label | string | "Password" | — |
labelVisibility | string | "visible" | enum "visible", "hidden" |
minStrengthLevel | string | "good" | enum "insecure", "bad", "good", "strong" |
name | string | "" | — |
placeholder | string | "" | — |
rules | object | {"required":{"value":false,"message":""}} | — |
strength | boolean | true | — |
visibilityToggle | boolean | false | — |