Filter by All in a Dropdown

I’ve created a Dropdown so I can filter results in a Repeating Group by the User associated to an Event.

However, I would like the default option to be All Users so I can see the list unfiltered if I want.

The last post I see about this from 2016 suggests this is not possible.

Is there a workaround? Some kind of Conditional?

I created a new table inside my database and I set it to the default value. That also allows me to use auto binding!

1 Like

Have you tried “ignore empty constraints”. This has the same effect as no filter being applied.

1 Like

Thanks. That partially works, when I removed the “Advanced” from the Filter (which I had copied from a discussion elsewhere), so that on Page Load I now see an unfiltered list.

However once you have filtered the list, there is no ability to go back to an unfiltered list as there is no “All” to select.

so under this method I would create a new Table which is all the Attendee Users for an Event? I have not used auto-binding before…

That’s useful if you need auto-binding. If you don’t need it, try doing a search for all users by default and then setting conditional statements for the filter, rather than trying to remove the filter.

I create my own drop downs now for the flexibility in both functionality and styling. You could create your own and not use the Bubble dropdown?

I have no idea how to do that. Any pointers?

With a focus group as the dropdown.

1 Like

I’m not in the office right now but I think I use a repeating group in a focus group that shows on clicking a text styled to look like a dropdown. The only downside is you’ll spend more time creating your own little dropdown than you would on the default one but at least at the end of it you’ll have a nice little dropdown you can keep as a template and drop into other projects.

1 Like

2 Likes

I think this has become way more complicated for your scenario than it needs to be. From what I understand you have solved the original problem, but now cannot “unfilter” as there is no “All”.

If this is correct understanding, here is the rest of the solution sticking with Bubble’s standard drop downs:

Step 1: Check within your drop down selection, there should be a blank “option” at the top of the list of options. This is effectively the “All” to negate the original filter. Like such:
Screen Shot 2020-05-20 at 4.50.40 PM

Step 2: If the blank row doesn’t exist, it means you have this option checked on:
Screen Shot 2020-05-20 at 4.51.36 PM

In which case, you won’t see the empty row like such:
Screen Shot 2020-05-20 at 4.52.32 PM

Step 3: If you don’t like using the blank row as the “All” selector, then simply add an icon that when the user clicks on, it resets the dropdown. Like such:
Screen Shot 2020-05-20 at 4.54.25 PM

PS: A while ago I also started experimenting with the above-mentioned suggestion using customized RGs and focus groups to mimic dropdowns, but after a long while realized that I can get everything I needed from the good ol’ Bubble standard drop down fella.

2 Likes

Thanks everyone for all the suggestions, but SerPounce’s answer is really the simple way to get this done. I have added the Icon to Reset the Dropdown as you suggest.

It does seem like an oversight on Bubble’s part that they don’t make it simpler just to get the Word “All” in there somehow for all/none selected, as I can now, otherwise, achieve what I need.

1 Like

Looks beautiful

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.