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
In Twig we can get the title of the linked entry via {{ entry.myLinkFieldHandle.label }} but I can't see a way of doing this with GraphQL as a URL is always returned.
I appreciate it would be easy enough to add a customTitle field, in fact we do already have one, but its purpose is to allow the user to set a label for the button that overrides the entry's title. This all works fine in Twig but we can't accomplish the same via GraphQL at the moment.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In Twig we can get the title of the linked entry via
{{ entry.myLinkFieldHandle.label }}
but I can't see a way of doing this with GraphQL as a URL is always returned.I appreciate it would be easy enough to add a
customTitle
field, in fact we do already have one, but its purpose is to allow the user to set a label for the button that overrides the entry's title. This all works fine in Twig but we can't accomplish the same via GraphQL at the moment.P.S. Christmas definitely came early when you added this native Link Field, much appreciated! 👏
Beta Was this translation helpful? Give feedback.
All reactions