Skip to content
On this page

NcPasswordField

Props

Prop nameDescriptionTypeValuesDefault
helperTextAdditional error message

This will be displayed beneath the input field
string-''
checkPasswordStrengthCheck if the user entered a valid password using the password_policy
app if available.

Warning: this doesn't replace server side checking and will do nothing
if the password_policy app is disabled.
boolean-false
minlengthThe minlength property defines the minimum number of characters
(as UTF-16 code units) the user can enter
number-0
maxlengthThe maxlength property defines the maximum number of characters
(as UTF-16 code units) the user can enter
number-null

Events

Event namePropertiesDescription
validTriggers when the internal password_policy detect that the
password entered is valid.
invalidTriggers when the internal password_policy detect that the
password entered is invalid.
update:valueThe string - new valueTriggers when the value inside the password field is
updated.

Slots

NameDescriptionBindings
default

Description

See NcInputField for a list of all available props.

General purpose password field component.

loading...