For example,
I am going to create an organization belongs to a user. But I want to list like
key = id , value = email (instead of fullName) .
We need to change entity/user.php

     public function __toString() {
        return $this->email.' - '.$this->fullName;
    }    

By toihid

Leave a Reply