li-date

Supported Features

Document
Media
Include
Document Creation Flow
Push Message
Table Dashboard
Display Filter
Search Indexing
System Metadata
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
        }
      }
    }
    // ...
  ]
}