FeatureFuel
12

m2m: option to hide relational item in drawer

Source: directus/directus#22419 · opened by @Dominic-Marcelino
Summary


The m2m drawer always includes the relational field as well as the additional fields from the junction table.

In some use-cases we might want to display the junction fields only (e.g when using the m2m for a translation).

Basic Example


_No response_

Motivation


Manage junction fields only from the drawer (e.g in translational setups)

Detailed Design


Therefore an additional prop displayRelatedItem
Would need to be added todrawer-item :



and than being used in the interface:


Requirements List


Must Have:

• extend drawerItem with a new prop
• update usage

Drawbacks


The related item might be needed in the editing context, but don’t think so. If so, it could simply be hidden based on the prop.

Alternatives


N/a

Adoption Strategy


N/a

Unresolved Questions


_No response_

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests