Files
firecms/website/docs/entities/properties/timestamp.md
2021-12-13 23:07:44 +01:00

745 B

id, title, sidebar_label
id title sidebar_label
timestamp Timestamp Timestamp
import { buildProperty } from "./builders";

const publicationProperty = buildProperty({
    title: "Publication date",
    dataType: "timestamp"
});

autoValue "on_create" | "on_update"

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

validation

  • 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: