keystatic icon indicating copy to clipboard operation
keystatic copied to clipboard

allow validating that mdx field is not empty

Open stefanprobst opened this issue 1 year ago • 0 comments

it would be cool to be able to validate that a richtext field (mdx or markdoc) must not be empty, e.g.:

fields.mdx({ label: "Summary", validation: { isRequired: true } })

stefanprobst avatar Jul 15 '24 10:07 stefanprobst