Date/Time
import { buildProperty } from "./builders";
const publicationProperty = buildProperty({ name: "Publication date", dataType: "date"});autoValue “on_create” | “on_update”
Section titled “autoValue “on_create” | “on_update””Use this prop to update this date automatically upon entity creation or update.
mode “date” | “date_time”
Section titled “mode “date” | “date_time””Set the granularity of the field to a date, or date + time.
Defaults to date_time.
clearable
Section titled “clearable”Add an icon to clear the value and set it to null. Defaults to false
validation
Section titled “validation”requiredShould this field be compulsory.requiredMessageMessage to be displayed as a validation error.minSet the minimum date allowed.maxSet the maximum date allowed.
The widget that gets created is
DateTimeFieldBindingField that allows selecting a date
Links: