A field can be set as required, but a relationship between types how can it be set as required?
For example, I have 1 relationship between the "Manufacturers" type and the "Printers" type, when I add a printer I would like it to be mandatory to indicate a manufacturer.
This is another thing that would make a reasonable feature request (there is no such option currently available), but in this case you could add a snippet of JavaScript to add the "required" attribute to the select input so that the built-in browser validation would indicate that the field was required (screenshot).
I'm assuming you are using a front-end form to add the posts.
No, I am using the dashboard.
It's a website for other people and I don't want them to make mistakes and this is a hole. 🙁
It is a pity that you have not taken it into account.
It is something you should have yes or yes.
In this case there is not much that can be done as a workaround.
There is no equivalent validation filter for the back-end, and it's not possible to add a required attribute to the select dropdown for the parent because, until you press the button to add or connect a related post, there is no dropdown.
I see that you have already submitted the request, and I'll mention it to the developers at our daily meeting to encourage them to implement it soon.