Skip to main content
Version: 2.0.0


import { buildProperty } from "./builders";

const publicationProperty = buildProperty({
name: "Publication date",
dataType: "date"

autoValue "on_create" | "on_update"

Used this prop to update this timestamp automatically upon entity creation or update.

mode "date" | "date_time"

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


Enterprise or start-up?

Learn how to get the most out of your project with the help of our consulting team.
Learn more
Sign up to our newsletter to get the latest news and updates. No spam!