-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
Currently, there is no way to ensure that a field is mandatory in a Slice or Custom type.
Describe the solution you'd like
I was considering a solution like providing a checkbox to assign a field as mandatory in the Field Model dialog as in SS:
On the Prismic website, if the field assigned as mandatory is left blank, there can be the same functionality as for UID:
Additional context
As we have multiple content creators using the Prismic website, having the validation for fields can be helpful as this would ensure:
- For the content team: A mandatory field is never left blank by mistake.
- For the developers: They would be sure of the availability for certain fields.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
