mirror of
https://github.com/zhigang1992/firecms.git
synced 2026-06-15 01:58:59 +08:00
745 B
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
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
DateTimeFieldField that allows selecting a date
Links: