Select options text
# avo-2
q
Hey all,
Copy code
field :user, as: :belongs_to
this generates the select dropdown correctly, but how can i change the info displayed? perhaps i want to show first_name and last_name instead of email?
l
Heei @quaint-megabyte-28702 , the text displayed is fetched from user's resource
self.title
class attribute. It can be configurable by adding the
searchable: true
option
l
the
searchable
option uses the search feature. you can find how to configure the search results on our documentation page here https://docs.avohq.io/2.0/search.html#configure-the-search-result