An Input Field is a basic form component that allows users to enter text-based data. It can be configured with validation rules, placeholders, and other properties to control user input.
This component is used for single-line text input where specific formatting or validation may be required, such as email addresses. It supports:
Ideal for capturing standard textual information like names, emails, or IDs.
Complete JSON Object
{
"key": "InputKey",
"type": "input",
"props": {
"label": "Input Name",
"required": true,
"placeholder": "Input Placeholder"
},
"validation": {
"messages": {
"required": "Error message for required",
}
},
"validators": {
"validation": ["email"]
}
}
Allowed Custom Properties
Allowed Validations