Menu
Feedback
Start here

Known issues

Known issues
Headless CMS ignores array validation settings
CMS
ID: 1046372
Backlog
Published on6/7/2024
Last updated on6/7/2024
1 min read

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

Contributors
1
Photo of the contributor
+ 1 contributors
Was this helpful?
Yes
No
Suggest Edits (GitHub)
Contributors
1
Photo of the contributor
+ 1 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX Community
Join our community
Request VTEX support
For personalized assistance, contact our experts
Open a support ticket
GitHubDeveloper PortalCommunityFeedback