li-date

History
VersionChange
release-2025-05Table dashboard support was added in the 2025-05 release.

Supported Features

Document
Media
Include
Document Creation Flow
Push Message
Usage Log
Table Dashboard
Display Filter
Search Indexing
System Metadata
Planning System
Webhook Conditions

Default UI

Date input field

Storage Format

<ISO8601 String>

Content Type Config

{
  handle: 'myContentType',
  // ...
  metadata: [
    {
      handle: 'myHandle',
      type: 'li-date',
      config: {
        // common
        hideFromForm: false,                     // optional, default: false
        required: true,                          // optional, default: false
        requiredErrorMessage: 'Provide a value', // optional
        translatable: false,                     // optional, default: false
        index: true                              // optional, default: false. Added in: release-2023-07
      },
      ui: {
        label: 'foo',                   // optional, takes camelized name otherwise
        config: {
          readOnly: true                // optional, default: false
        }
      }
    }
    // ...
  ]
}