li-list-reference

Supported Features

Document
Media
Include
Document Creation Flow
Push Message
Table Dashboard
Display Filter
Search Indexing
System Metadata

Default UI

Selected list, or list selection dialog

Storage Format

{
  $ref: 'list',
  reference: {
    id: <String>,
    count: <Integer>,
    priority: <Integer>
  }
}

Content Type Config

{
  handle: 'myContentType',
  // ...
  metadata: [
    {
      handle: 'myHandle'
      type: 'li-list-reference',
      config: {
        // common
        hideFromForm: false,                     // optional, default: false
        required: true,                          // optional, default: false
        requiredErrorMessage: 'Provide a value', // optional
        index: true,                             // optional, default: false. Added in: release-2023-07
        // specific
        defaultCount: true
      }
    }
    // ...
  ]
}