Menu
Feedback
Start here
Tutorials
Developer portal

Known Issues
Support Rules
Troubleshooting

Frequently Asked Questions
Announcements
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

Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX community.
Join our community
Request support from VTEX
For personalized assistance, contact our experts.
Open a support ticket
GithubDeveloper portalCommunityFeedback