Linked Select
Overview
The Linked Select component creates a relationship between two features. Instead of a static list of options, the dropdown is dynamically populated from records in another feature. This is how you create foreign key relationships in OutDo.
Example: An "Orders" feature with a Linked Select column pointing to "Clients" — when creating an order, the user picks a client from the clients list.
Linking to another feature
Core configuration
| Setting | Description |
|---|---|
| Linked feature | The source feature to pull options from |
| Value column | The column from the source feature that gets stored as the value (typically the ID) |
| Label column | The column from the source feature displayed to the user (e.g., "Client Name") |
| Multi-select | Allow selecting multiple linked records |
| Sort alphabetically | Auto-sort options by the label column (default: enabled) |
| Placeholder | Custom prompt text for the dropdown |
| Default value | Pre-selected value for new records |
Inline creation and editing
| Setting | Description |
|---|---|
| Add button | Show a button to create a new record in the linked feature without leaving the current form |
| Edit button | Show a button to edit the selected linked record |
These buttons appear next to the dropdown and open the linked feature's form in a dialog — allowing users to add new clients, products, or any referenced entity on the fly.
Referential integrity
Protect data consistency when records are referenced:
| Setting | Description |
|---|---|
| Enforce referential integrity | Prevent deletion of linked records that are referenced by this column |
| On delete action | What happens when a referenced record is deleted — "restrict" prevents the deletion |
| Custom error messages | Custom text shown when integrity constraints are violated |
Example: If an order references a client, enabling referential integrity prevents deleting that client while the order exists. The user sees an error explaining which records depend on it.
Display in views
In forms, the Linked Select appears as a searchable dropdown. Users can type to filter options. In tables and lists, it displays the label value from the linked feature.