FeatureFuel
12

Default Value for Many-to-One Dropdown using $CURRENT_USER

Source: directus/directus#22446 · opened by @tinhXEM
Summary This feature request aims to provide a default value for many-to-one dropdown fields using $CURRENT_USER. When creating a new item, the dropdown should automatically pre-select the current user's ID if applicable. Basic Example <img width="890" alt="image" src=" Motivation Currently, Directus does not have a built-in way to automatically pre-select the current user's ID in many-to-one dropdown fields when creating a new item. This feature would save time and reduce errors in user selection, especially for collections where items are typically associated with the creator. Detailed Design The $CURRENT_USER variable should be supported as a default value for many-to-one dropdown fields. When a new item is created, the dropdown field will automatically select the current user's ID if the field is configured to use $CURRENT_USER as its default value. Requirements List Must Have: • Support for $CURRENT_USER as a default valu…

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