Skip to content

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.

Set the granularity of the field to a date, or date + time. Defaults to date_time.

Add an icon to clear the value and set it to null. Defaults to false

  • required Should this field be compulsory.
  • requiredMessage Message to be displayed as a validation error.
  • min Set the minimum date allowed.
  • max Set the maximum date allowed.

The widget that gets created is

Links: