What parameter should be enabled in the field to be able to add or change variants of selects in the source table?
If you enable select table for editing, users who have access to the source table will be able to add and edit select displays directly from the field, without navigating to the source table.
If you use bfield
in the select code, specify its name
in BaseField different from id.
For multiselects, panels for all selected items will be shown sequentially.
Can I set different source tables depending on other fields?
If you have a select that takes mappings from different tables depending on conditions, you need to write the reference to edit the source table in the select panel for modification:
=: if(condition: #cond_field = 1; then: $t1; else: $t2)
t1: linkToPanel(table: 'table_1'; id: $#nfv)
t2: linkToPanel(table: 'table_2'; id: $#nfv)
You can also use this parameter to pass pre-filled values to the opened panel:
=: linkToPanel(table: 'table'; id: $#nfv; field: 'name' = #value)