Built-in Schema Fields
SelectField
Basic Usage
Use SelectField when the schema needs a standard dropdown choice.
Registry
- Key:
select - Module:
src/forms/fields/SelectField.tsx
Role in SchemaForm
Dropdown selection using SelectInput, bound via useEngineField. Options come from field.options: { value, label, disabled?, if? }[]. Option visibility can use per-option if (JEXL) with the same condition data pattern as the main schema.
Example schema
json
{
"$field": "select",
"name": "status",
"label": "Status",
"options": [
{ "value": "live", "label": "Live" },
{ "value": "draft", "label": "Draft" }
]
}Related
- Plain component docs: Select
Edit this page
Last updated: May 22, 2026, 6:53 PM