Common Options
11/19/26Less than 1 minute
Common Options
Every field input type accepts these base options in addition to its own type-specific options.
| Option | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
label | string | No | Override the field label | "My label" | |
hideLabel | boolean | No | Hide the field label | ||
placeholder | string | No | Placeholder text shown inside the input when empty | "Search..." | |
readonly | boolean | No | Render the field in read-only mode | ||
disabled | boolean | No | Always render the input disabled | ||
errorMessage | string | No | Replace the validation error text shown under the input | "Please fill this in" | |
disabledWhen | object | No | Disable the input when the condition matches another field | {"field":"id","exists":true} | |
colspan | number | No | Grid column span (1–12) | 6, 12 | |
width | string | No | Named width (xs, sm, md, lg, xl, full) or any CSS value | "md", "240px" | |
styles | object | No | Inline CSS style object applied to the field wrapper | {"color":"red"} | |
customRender | string | No | Name of a globally registered Vue component to render instead of the default input | "MyCustomInput" |