I’m submitting a…
- [x] Bug report
When a field is configured with:
"isRequired": false, "isRequiredOnPublish": true,
It does not allow publishing when this field is empty – all good. However, once published, it allows to empty the field – which it should not.
isRequiredOnPublish should work much like
isRequired except that it enforces it when a document is being published or is already published.
This is a very unfortunate bug for us because we want to ensure that published documents maintain their required fields. Otherwise “Required when publishing” is kind of useless.
Minimal reproduction of the problem
- Create a field and mark it as “Required when publishing”.
- Go to any document that is already published and unset that field.
- Save the document.
- See that it allows you to do that, but it should not.
Self-hosted with docker