Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

customize select options text dynamically #438

Open
sescobb27 opened this issue May 9, 2018 · 0 comments
Open

customize select options text dynamically #438

sescobb27 opened this issue May 9, 2018 · 0 comments

Comments

@sescobb27
Copy link

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.

@sescobb27 sescobb27 changed the title customize select options text customize select options text dynamically May 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant