This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
joelesvensson
Hi! In a plugin i'm developing I have a model that points to one admin user. In the backend interface to create these models, I want the dropdown to default to the currently logged in user. What is the best way to do that?
Last updated
Renatio
Hi,
you can try to use http://octobercms.com/docs/backend/forms#filter-form-fields and set default property to:
BackendAuth::getUser()->id
Last updated
1-3 of 3