li-datetime

Supported Features

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

Default UI

A datetime input

Storage Format

<ISO8601 String>

Content Type Config

{
  handle: 'myContentType',
  // ...
  metadata: [
    {
      handle: 'myHandle'
      type: 'li-datetime',
      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
      },
      ui: {
        label: 'foo',                   // optional, takes camelized name otherwise
        config: {
          readOnly: true                // optional, default: false
        }
      }
    }
    // ...
  ]
}