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
The primary example under the Use section depicts a snippet illustrating pulling tags from related. Based on your use case, it looks like you need to be pulling from reference:
// assumes the tag document has a name of `categories` and the actual field holding the tags is called `myTags`{name: 'myTags',title: 'Tags',type: 'tags',options: {includeFromReference: 'categories'...}}
An important note: when including from reference, it must contain a structure with a label and value. If the referenced document does not have fields with the name label and value, it will not work. You will need to use the customLabel and customValue options. Also note that this package is primarily made to support related rather than references. If you use a reference, creation of new tags is not currently supported.
Most of this should be laid out in the documentation! Let me know if there was something that was missing that made something unclear.
Hi there,
I am trying to add this to a project of mine and pull in tags from a document on my blog page.
I have followed the instructions and referenced my tags document but no tags are pulling through.
Is there any default tag document example you can provide?
Thanks,
Jack
The text was updated successfully, but these errors were encountered: