I’ve tried multiple DropDown plugins and even the built in DropDown element, but none met my use case. I have a database with a File’s Name and the URL to its PDF. I need to show the File Name in the drop down. But the action’s need to be done on the PDF URL’s link. Is there way to connect/map those both? Maybe a table/repeating group would work?
I’ll suggest you customize your own dropdown using a RG in a group focus, then you can make it display whatever you want it to in each cell of the RG.
Hope this helps.
Happy Bubbling
I dont know why its deficult for you.
let say the data entity for is File containing two field, Name & URL.
FIle → Name , URL
Now when you select the file in builtin dropdown, the entity get selected.
and if you are trying to reference the URL , just reference the selected
dropdown value’s URL
and that selt this is how you reference the url.
for example if you want to download the url in user system, just open the url with External page pasing the url as i reference above.
if i am getting somethign wrong kindly ping me.
No sir, if you have an entity as with multiple field , and you want user to select that entity with a dropdown. and you want one of the field to be caption.
just choose the caption, no need to create a custom dropdown, the reason we create custome dropdown, is some time we want user to search the available option, for that we create a a focus group and add an input inside it, and a repeatign group whcih search all the option, and fileter out them with input text.
I’m not using the Bubble’s default drop-down. As it doesn’t suffice my use case. I need to select multiple files at once. So when I select the name from the drop-down only the name gets selected instead of the whole file entity. That’s my problem.
Ok thanks, I think I got the question wrong
In this case you can create a custom dropdown, using focus group.
and in side it add a input for better searching for option, and then also add a RG group which congaing a list of file each wiht name & url, and also add a custom state on this group focus for selected fiel.
and that set.
when you select a item in repeating group add the item in custom state and for multiple selection plus the item in custom state.
and also highlight the selected item. and when you have the list you want to work, refer that custom state and use each item URL.
Hello there, I tried implementing what you said but ran into a dead-end. Couldn’t show the options at all. Can you share me a demo app editor where this is implemented so that i can look into the application and understand.
This topic was automatically closed after 70 days. New replies are no longer allowed.