Date field

The date of the event

The date field stores a Date string, collected from an <input type="date"> form field.

Usage example

date: fields.date({
  label: 'Event date',
  description: 'The date of the event'
})

Type signature

Find the latest version of this field's type signature at: https://docsmill.dev/npm/@keystatic/core@latest#/.fields.date