customize select options text dynamically
sescobb27 opened this issue · comments
Hi, i'm trying to modify the text for select options without success, is there a way i can do that? my use case is the following
I have a City
has-many Chat Room
many-to-many User Video
through UserVideoRoomRanking
each
user_video_room_ranking also has a ranking:number field, that way we can rank videos in a room, we are trying to add an admin section so an admin can rank those videos, the problem is neither the room or the videos have unique names so we are seeing a lot of repeated names and we want to display a custom name for each option
e.g
for room options we want: original("Night Life")
- desired("NewYork - Night Life", city name with room name)
for user videos we want: original("Dance Floor")
- desired("@user - Dance Floor", username with video name)
thanks.