Skip to main content

Password Attribute

Docusaurus logo

How to use in JSON metadata in form builder:

{
"id": "password",
"is_standard": true,
"editable": true,
"display_order": 3,
"icon": "eye",
"label": "Password field",
"show_label": true,
"data_type": "String",
"input_type": "PASSWORD",
"placeholder_text": "Placeholder",
"max_length": 16,
"min_length": 4,
"initial_value": "",
"validation_rules": {
"required": {
"value": true,
"error_message": "Specify password"
}
}
}

Properties of password attribute:

#AttributeDefaultDescription
1idpasswordBase attribute which specifies "password" input field.
2is_standardtrueNo need to change (by default: TRUE)
3editabletrueAllows user to edit the input field
4display_order1Allows user to define the order of the fields
5iconeyeHelps to add icon to the field eg: iconName from vector Icon
6labelpassword fieldUsed to specify the label of the field
7show_labeltrueWhen set to true it makes label Visible
8data_typeStringIt allows the users to specifies the inputs data types
9input_typePasswordBase attribute which specifies input types no need to change
10placeholder_textPlaceholderPlaceholder temporarily takes the place of the final data
11max_length16Defines the max input length
12min_length2Defines the min input length
13initial_value" "It defines the initial value in the input field