Password

Allows users to submit a password.

Allows users to submit a password.

Block metadata

FieldValue
Namexp/form-field-password
TitlePassword
Categoryxpac-form-generic-field
API version3
Keywordsxpac, form, field, password
Packageuser-auth
Metadata filedist/packages/user-auth/blocks/password/block.json

Supports

FeatureValue
classNameDisabled

Attributes

NameTypeDefaultSource/Enum
additionalAttributesobject{}
descriptionstring""source html; selector .xp-block-form-field__description
idstring""
labelstring"Password"
labelVisibilitystring"visible"enum "visible", "hidden"
minStrengthLevelstring"good"enum "insecure", "bad", "good", "strong"
namestring""
placeholderstring""
rulesobject{"required":{"value":false,"message":""}}
strengthbooleantrue
visibilityTogglebooleanfalse

On this page