NcPasswordField
Props
Prop name | Description | Type | Values | Default |
---|---|---|---|---|
helperText | Additional error message This will be displayed beneath the input field | string | - | '' |
checkPasswordStrength | Check 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 |
minlength | The minlength property defines the minimum number of characters (as UTF-16 code units) the user can enter | number | - | 0 |
maxlength | The maxlength property defines the maximum number of characters (as UTF-16 code units) the user can enter | number | - | null |
Events
Event name | Properties | Description |
---|---|---|
valid | Triggers when the internal password_policy detect that the password entered is valid. | |
invalid | Triggers when the internal password_policy detect that the password entered is invalid. | |
update:value | The string - new value | Triggers when the value inside the password field is updated. |
Slots
Name | Description | Bindings |
---|---|---|
default |
Description
See NcInputField for a list of all available props.
General purpose password field component.
loading...