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
Field display template not working on M2M #12768
Comments
Hi! Would you mind testing this on chrome_hiCpzJURar.mp4Whereas what you are looking for should be the display template under chrome_imih0GprwD.mp4I believe this is working as intended, but will reopen when you can confirm it is still in fact an issue and there were some misinterpretation in my examples/description given above 👍 |
I tried with 9.9.0 and it doesn't work yet. The display template field option was used in Directus 8 to render specific fields in the display template under Interface, as you can see here: configuration: result: The display template in Directus 9 should be the same, and it totally makes sense: when you have a LOT of content, you cannot rely solely on the ID to know which items are related to another. |
@lluishi93 I believe the confusion here is between what the Interface and Display is. The Interface is what you're showing in your screenshot, but you're configuring the Display. Try configuring the Display Template option under Interface 🙂
It is 👍🏻 |
That's correct. V8 used to render in inline tables, v9 uses the row style ux 👍🏻 There's actually an in-works PR to allow rendering as either tables or rows, see #12820 |
Describe the Bug
The display template option does not work, the field container does not show the indicated fields in the configuration. It seems to be showing the ID everytime, no matter what configuration is set.
Configuration:
MySQL row for directus_fields:
Result:
To Reproduce
Errors Shown
No response
What version of Directus are you using?
9.8.0
What version of Node.js are you using?
16.13.2
What database are you using?
MySQL 5.7
What browser are you using?
Chrome
How are you deploying Directus?
Docker
The text was updated successfully, but these errors were encountered: