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
Current React UI only supports has_one relationship for Link via the LinkField. We need to enhance this field to handle has_many relationship as well to enhance the CMS user experience.
We have to rely on GridField to manage these links as LinkField doesn't support this relationship setup. This functionally works but is far from ideal.
Desired state
The goal is the use LinkField with the Links relation in a similar way we can use UploadField to handle a has_many relation. We expect a React UI to be available to allow content author to manage multiple links via this field.
Impacted versions
This feature can be implemented only in GraphQL 4 compatible version as this is an enhancements. Back-porting this to the GraphQL 3 compatible is a nice to have but not manadatory.
LinkField support for has_many
Current React UI only supports
has_one
relationship forLink
via theLinkField
. We need to enhance this field to handlehas_many
relationship as well to enhance the CMS user experience.Setup
Added a simple
has_many
relationship.CtaBlock.php
:LinkRelationExtension.php
:Current state
We have to rely on
GridField
to manage these links asLinkField
doesn't support this relationship setup. This functionally works but is far from ideal.Desired state
The goal is the use LinkField with the
Links
relation in a similar way we can useUploadField
to handle ahas_many
relation. We expect a React UI to be available to allow content author to manage multiple links via this field.Impacted versions
This feature can be implemented only in GraphQL 4 compatible version as this is an enhancements. Back-porting this to the GraphQL 3 compatible is a nice to have but not manadatory.
Pull request
The text was updated successfully, but these errors were encountered: