A2Input
Basic input field component.
Props
| Property | Type | Default | Description |
|---|---|---|---|
prop | string | - | Form data key |
placeholder | string | - | Input placeholder |
type | `text | password | number` |
disabled | boolean | false | Disabled state |
clearable | boolean | false | Clear button |
Basic Example
Password Input Example
JSON Schema
json
{
"id": "inputId",
"type": "a2-input",
"props": {
"prop": "fieldName",
"placeholder": "Enter value",
"type": "text",
"clearable": true
}
}