Skip to main content

Linked Select

Configuration reference: Ligação a tabela

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​

SettingDescription
Linked featureThe source feature to pull options from
Value columnThe column from the source feature that gets stored as the value (typically the ID)
Label columnThe column from the source feature displayed to the user (e.g., "Client Name")
Multi-selectAllow selecting multiple linked records
Sort alphabeticallyAuto-sort options by the label column (default: enabled)
PlaceholderCustom prompt text for the dropdown
Default valuePre-selected value for new records

Inline creation and editing​

SettingDescription
Add buttonShow a button to create a new record in the linked feature without leaving the current form
Edit buttonShow a button to edit the selected linked record
Show in formShow the add and edit buttons in the record form (on by default)
Show in tableShow the add and edit buttons in the table cell, also with inline editing (on by default)

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.

In the table view the same buttons appear in the cell, to the right of the chip, and stay when the column has inline editing. The + creates the new record and links it in that cell, even when it is empty; the pencil opens the linked record.

Referential integrity​

Protect data consistency when records are referenced:

SettingDescription
Enforce referential integrityPrevent deletion of linked records that are referenced by this column
On delete actionWhat happens when a referenced record is deleted — "restrict" prevents the deletion
Custom error messagesCustom 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.

The Ligação inversa section of the settings creates, in one click, an Inverse link column in the linked feature that lists the records of this feature pointing at each record there. Once created, the section shows the column and an Abrir button.

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.