Password
The Password (password
) component is a text box where characters inside the box are hidden from the user. It has similar properties to the Text component, including configuration options for being readonly, disabled, required, and supporting placeholder, helper text, and default value.
Examples
A simple password field with basic validation
Form Data:
{}
Field Properties
Properties used by this field (inside meta field in schema)
Name | Description | Type |
---|---|---|
displayName | The label shown above the password field | string |
displayType | The type of the field to be displayed | string |
placeholder | The hint shown in the password field | string |
readOnly | A readonly field is not editable and value cannot be changed | boolean |
isDisabled | A disabled field is not editable and value cannot be changed | boolean |
required | Indicates whether the field is mandatory | boolean |
pattern | A regex pattern that the field value must match | string |
min | Minimum length for the password | number |
max | Maximum length for the password | number |
description | Helper text or additional description shown below the password field | string |
value | The default value of the field | string |
overrideDynamicSupport | To override the default behavior of showing static and dynamic options | boolean |