Boolean
import { buildProperty } from "@firecms/core";
const availableProperty = buildProperty({ name: "Available", dataType: "boolean"});validation
Section titled “validation”requiredShould this field be compulsory.requiredMessageMessage to be displayed as a validation error.
The widget that gets created is
SwitchFieldBindingsimple boolean switch
Links: