I have 2 dropdowns and ‘checkbox’ as text and icon and button search. When I picked some value I clicked button “Search”, some things are shown and my text in button should be changed to “Refresh”. But if I changed my mind and want to check my icon I want my button to be back “Search”. Is there any possible way to do that in Bubble.io? (I know what to do with dropdowns when you change inputs, but I don’t know what to do with that icon)
I’d agree with you up until the WU pricing change - now we’re literally charged each time a user plays with a search constraint I’ve moved to click to search/refresh rather than auto-updating unless a client fully understands the cost of the alternative.
I have a very similar situation where my users can select up to 6 different search criteria and re-triggering the search would kill me WU-wise.
Instead, I have a listshifter that already contains all potential rows the user might find. Then when they change search criteria I just re-filter the data to display, rather than re-retrieving.
Hi @tetiana.deresh, I think I figured out a solution for this:
• I created two icons: one “unchecked” and one “checked” that have yes/no Custom States to determine which ones should be visible or not.
• I created a Search button and a Refresh button; each with yes/no Custom States to determine which ones should be visible or not.
• I have two Workflows for the “unchecked” icon and two for the “checked” icon.
In one Workflow for the “checked” icon: when it’s clicked by a User, its “is_checked” Custom State changes to “No” (first Action) AND the “unchecked” icon’s “is_unchecked” Custom State changes to “Yes” (second Action).
For the other Workflow for the “checked” icon: when it’s clicked by a User AND the “show_search_btn” Custom State for the “Search” button is set to “No”, I have Actions that change the yes/no Custom States for the icons AND for the “Search” and “Refresh” buttons.
Once you get that “checked” icon’s Workflows set up and working, you’ll see how to set the Workflows for the “unchecked” icon.