Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

m2a related-items display don't using default collection template by default #16517

Open
d1rOn opened this issue Nov 18, 2022 · 1 comment
Open

Comments

@d1rOn
Copy link
Contributor

d1rOn commented Nov 18, 2022

Describe the Bug

When related-items display is selected as display for m2a relation, and template field leaved blank, it would be nice if the default collection template will be used.

I also suggest to add extra option in template dropdown of related-items display options: Item (Default display).
With this feature we'll able to set up template like "Blabla {{default_display}}", which will be converted to corresponding template for each collection.

It can look like this

image

To Reproduce

Create an m2a relation with related-items display and leave template blank.

Errors Shown

No response

What version of Directus are you using?

9.20.4

What version of Node.js are you using?

v17.9.0

What database are you using?

MySQL

What browser are you using?

Chrome

How are you deploying Directus?

locally

@rijkvanzanten
Copy link
Member

Linear: ENG-134

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 📋 Backlog
Development

No branches or pull requests

3 participants