Tenant Menu Text Options
Can anyone point me to a resource to show how to change the information displayed in the Tenant drop down selection menu.
I can see it is utilising getNameAttribute() from the tenant model, but haven't found a way to make it use a different method.
I can see it is utilising getNameAttribute() from the tenant model, but haven't found a way to make it use a different method.
Solution
in your user model you have:
public function getTenants(Panel $panel): Collection
just look through them and change the name as you see fit?
public function getTenants(Panel $panel): Collection
just look through them and change the name as you see fit?