mirror of
https://github.com/zhigang1992/firecms.git
synced 2026-06-14 09:38:59 +08:00
472 B
472 B
id, title, sidebar_label
| id | title | sidebar_label |
|---|---|---|
| boolean | Boolean | Boolean |
import { buildProperty } from "./builders";
const availableProperty = buildProperty({
title: "Available",
dataType: "boolean"
});
validation
requiredShould this field be compulsory.requiredMessageMessage to be displayed as a validation error.
The widget that gets created is
SwitchFieldsimple boolean switch
Links: