Known issues
Headless CMS ignores array validation settings
Headless CMS ignores array validation settings
ID: 1046372
Backlog
Published on 6/7/2024
•
Last update on 6/7/2024
Summary
When trying to configure array validation rules in the Headless CMS, such as minimum and maximum array items, the validation errors are not shown to the user and it is possible to save the schema without passing validation.
The expected scenario would be to block the screen and show a message like:
"keyword": "minItems", "message": "must NOT have fewer than 3 items",
Simulation
Try adding a section that has a validation rule. If you don't respect the validation the hCMS will let you publish the content normally.
Workaround
N/A