FeatureFuel
5

Defaultvalue on "Many to Many" fields.

Source: directus/directus#23712 · opened by @FreeSynergy
Summary I would like to make a default value when creating a data record. It is important that the value of the input is part of the table in which it was entered. An addition would be if, for example, the value is taken from a variable (should be better documented somewhere how to use variables and fields within filters) - if this does not exist, NULL can be returned. Basic Example Example: I have a Group table and a Members field there. The Members field is linked to the Directus_Users table as M:M. When I create a new data record in Group, I want the user to be saved in the Members field at the same time. I would do this with the dollar sign: $CURRENT_USER Motivation Simplify inputs and enter preconditions at the same time. This is and can be normal if you want to create data records. Not only in the case of User, but also in other cases. Detailed Design Input of Default Value. If Default Value does not exist in the target table, then enter a NULL value (…

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