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.
Comments
Similar requests
$CURRENT_USER on Steroids
3 votes · 0 comments
Defaultvalue on "Many to Many" fields.
5 votes · 0 comments
Dropdown selector for boolean field with labels
1 vote · 0 comments
Dynamic filter on existing field values
1 vote · 0 comments
Allow manually setting the order in the collection chooser dropdown in the builder interface
1 vote · 0 comments
No comments yet.