Friction

Workaround · Customization · Annoyance

Relation field cannot be required in the UI; schema file edit works

1 source thread · first seen 2023-01

Summary

The content-type builder does not offer a required option for relations. Adding required to the schema file by hand makes validation work.

Workaround
Add required: true to the relation in the schema.json file

Evidence

Excerpts are copied word for word from the source; follow the link to read it in full.

“It's not possible to make a 'relation' required”

Report this item