How to select existing items when adding blocks? #19
-
Describe the bug Screen.Recording.2023-07-24.at.13.25.43.movTo Reproduce Flexible Editor Version: Directus Version: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Thanks for the question! I converted this to a Q&A, as this is the correct behavior. The correct way to do this is to create a collection like I then would suggest putting those kind of collections used by Flexible Editor into a folder called |
Beta Was this translation helpful? Give feedback.
Thanks for the question! I converted this to a Q&A, as this is the correct behavior.
The correct way to do this is to create a collection like
related_items
and use this instead. In this new collection you then create a M2M or O2M (or M2A) field that relates to youritems
collection.I then would suggest putting those kind of collections used by Flexible Editor into a folder called
Editor
orEditor Collections
or whatever. This keeps the structure of your data model readable. Check out the video (at the beginning) in this section of the README: https://github.com/formfcw/directus-extension-flexible-editor#usage-with-relation-nodes