Data Types and Input Components
This document defines the authoritative mapping between column data types and input components used by Smart Forms.
Scalar Data Types
| Data Type | Input Component |
|---|---|
| Boolean | Toggle / checkbox |
| Integer | Integer numeric input |
| Decimal | Floating-point numeric input |
| Text | Single-line text input |
| Long Text | Multi-line text area |
| Date Only | Date picker |
| Time Only | Time picker |
| Date + Time | DateTime picker |
| Date Range | Two date pickers or slot selector |
| DateTime Range | Two DateTime pickers or slot selector |
| Color | Color picker |
| Time Sequence Reference | Predefined sequence selector |
All rendering decisions are deterministic based solely on the column's declared data type. No UI overrides are required.