Hi
I have a simple dropdown with a toDropdownMap-function. It looks like this:
DataObject::get('Employee')->toDropdownMap('ID','NickName', 'Choose employee')
Now, would it be possible, to show two or more Fields in the dropdown, like this?
DataObject::get('Employee')->toDropdownMap('ID','FirstName' . 'Surname', 'Choose employee').
So, instead of showing a nickname, I want to show firstname and surname...
Thanks
Joel