Conditionnal relation field

Hello Strapi community,

I am using Strapi V4 and am facing an issue.
I have 8 content types (A,B,C, …)
I want to be able to link content from content type A to another content of other content types (A,B,C,D, etc.) with a relation.

One solution is to create a component with a relation field for each content type but it seems to me very not user friendly as the contributor would have a relation select field for each content type.

I was thinking about building a custom field but relations do not seem to be possible in such field.
Is there any way to build a “custom conditional relation field” (eg: the contributor selects a content type and then he selects a content within this content type) ?
Is there another to achieve this use case ?

Thanks in advance

2 Likes