DocEngine

Field types · List

List list

Multi-select from static items, catalogs, or remote search.

At a glance

  • Schema type: list
  • Value: string[] (selected labels)
  • Use when: Multi-select tags, diagnoses, product codes.

Type properties

Options that appear only for List fields. Shared options (Label, Field Name, Required, …) are on Field types → Common properties.

Display selected values
How multi-select results appear in the document: same line (semicolon), one per line, bullet, numbered, or custom prefix.
Line prefix
When Display selected values is Custom prefix — text prepended to each selected line (e.g. "- ").
Options source
Where choices come from: Manual list (edit options here), Shared catalog (host commonListId), or Remote search (sourceCollection at fill time).
Options / Shared catalog / Source collection
Manual: configure option labels (and optional codes). Catalog: pick a shared list from createEditor catalogs. Remote: pick a collection; options load when the user searches.
Label field
Remote only — which collection field to show as the option label (or Auto: name / title).
Show codes in picker
Remote only — show code + label in the fill picker when the catalog supports codes.
Default value
Pre-selected option label (Choice) or comma-separated labels (List) applied when the field is empty.
Allow manual edit
Users can type free text outside catalog options when filling the document.

Details

  • Value is an array of selected labels.
  • itemLayout controls how selections render (inline, lines, bullet, numeric, custom).
  • Remote lists use sourceCollection + host resolveListItems({ query, sourceCollection }).
  • Salesforce: Account → Name search; Account.Industry → picklist filter.

Related

Other field types

← All field types