You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Suspicion: Before the save/publish action, the object is cleaned up in the backend (after this call), which removes the basic_info object which inside has the required: ["cadi_id"]. This essentially removes the required from the object before running the validation, causing the above issue.
This can be solved for that schema by marking basic_info as required, but I would consider reviewing how we clean up objects in the backend.
Note that if we try with a new schema created in the admin the issue is not there, even if we use object nesting (obj > obj > req test field).
It is possible to, for example, publish draft with an unfilled required field if it has not been modified. This should not be allowed.
To replicate:
The text was updated successfully, but these errors were encountered: