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.
Comments
Similar requests
Add Fields Exclusion in Rest API
3 votes · 0 comments
Accordions and Detail group nested fields
2 votes · 0 comments
Allow editing on the system fields
50 votes · 0 comments
An option to add fields into relevant groups without dragging them.
8 votes · 0 comments
Set Item Duplication Fields automatically
26 votes · 0 comments
No comments yet.