StableField type
Text
Overview
Short, single-line text such as a name, a title, a reference number or a city.
Purpose
The default field type. Use it for anything people type in one line and that you may want to search or sort by. The first text field of an entity becomes the record title in lists unless you choose another display field.
Inputs
- Fits the Text Input component in forms (also Address, Autocomplete and Hidden Field).
- Validation: Minimum / Maximum length, an optional pattern (regular expression) and a custom message.
Configuration
- Options on every editable field: Required, Unique (no duplicates) (checked case-insensitively against existing records), Description (shown to teammates and the AI), a default value and a custom validation message that replaces the standard one.
- Use Long text for notes and paragraphs, Email / Phone / URL for values that need their own validation.
Outputs
- Stored as text up to 2,000 characters (longer input is cut). Shown as plain text; the full value is searchable with the table's search box.
Example
Customer name
Example
Field: Name · Type: Text · Required · Description: Full name as it appears on invoices Example value: "Ada Lovelace"
Errors
- “Name must be at least 2 characters” / “… at most 80 characters” — length rules.
- “Reference is not in the right format” — the pattern did not match.
- “Email must be unique — "x" is already used.” — Unique is on and another record has the same value.
Limitations
- Numbers stored as text sort alphabetically (“10” before “9”); use Number for quantities.
- An empty value is stored as empty (null); a Required field rejects it with “<Label> is required”.
Advanced
- Coercion: non-string primitives are converted with
String(); objects are rejected (“must be text”). Searchable field types: text, long_text, email, phone, url, select.