Skip to content

How to select existing items when adding blocks? #19

Answered by formfcw
jdjoshuadavison asked this question in Q&A
Discussion options

You must be logged in to vote

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 your items collection.

I then would suggest putting those kind of collections used by Flexible Editor into a folder called Editor or Editor 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

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@jdjoshuadavison
Comment options

@jablonski
Comment options

@smarchesini-DQ
Comment options

@formfcw
Comment options

@jablonski
Comment options

Answer selected by formfcw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #18 on July 24, 2023 12:30.