li-numeric-list

Supported Features

Document
Media
Table Dashboard
Include
Display Filter
Search Indexing
System Metadata

Default UI

Input for multiple numbers.

Numeric List Example

Storage Format

[<Integer>]

Content Type Config

{
  handle: 'myContentType',
  // ...
  metadata: [
    {
      handle: 'myHandle'
      type: 'li-numeric-list',
      config: {
        // common
        required: true,                                   // optional, default: false
        requiredErrorMessage: 'Custom required message',  // optional
        index: true,                                      // optional, default: false. Added in: release-2023-07
        // specific
        maxItems: 5,                                      // optional
      },
      ui: {
        label: 'foo',                   // optional, takes camelized name otherwise
        config: {
          placeholder: 'bar',           // optional, takes capitalized handle name otherwise
          readOnly: true                // optional, default: false
        }
      }
    }
    // ...
  ]
}