Display non-editable fields normally #2
Replies: 1 comment
-
Thanks for your request! Basically, it was always my intention to only make fields available that could also be edited in the item/detail view. Therefore, you will find the restrictions in the code below for fields that are directus-extension-editable-layout/src/index.ts Lines 554 to 562 in 6836ce0 Off topic: The reason why Flexible Editor is not allowed is that it depends on a separate M2A field which makes editing here quite complex at the moment. And the reason why relational fields are not allowed at the moment is that they have a problem with the display at the moment. I think it is no big deal to allow directus-extension-editable-layout/src/layout.vue Lines 94 to 113 in 6836ce0 In the I think that should do it. I am really happy to see a PR for it. For now, I would recommend keeping relation fields excluded. If you still want to work on it, please do so in a separate PR. |
Beta Was this translation helpful? Give feedback.
-
We'd love to adopt this extension for some use-cases, especially some of our upcoming plans where inline editing will speed things up a great deal.
While testing this extension, we noticed that only fields that can be edited are allowed to be displayed in the table. Relational/Nested fields are not displayed.
We have a fairly complex data model that has multiple layers of nesting for various purposes. Even though we might not need to edit nested information, we do need to be able to see that nested information in the table layout.
Would it be possible and reasonable to:
Beta Was this translation helpful? Give feedback.
All reactions