I have a condition set to show an icon if a user has posted an event. The icon disappears when user has not posted an event (so far, so good) but I need the hidden group to be completely removed so that the text to the right shifts to the left. Is this possible?
Place a clone text on that location and hide both the icon and original text as needed via the condition
Condition all three as needed
Without plugins, cmarchanās suggestion is the winning ticket, basically turn the text into a reusable element and then the desired effect can be had by showing/hiding the reusable text element.
Iāve made a plugin to get the same effect without needing to make a reusable element, itās private, but if you would like to try it out, you can reply with your app name and I can add it to the pluginās approved app list (you would then need to manually add the plugin from your app and also make sure the āexpose html idā option in settings ā general is checked).
Hereās a demo app: https://b2b-collapse-width.bubbleapps.io/version-test?debug_mode=true and viewable editor: B2b-collapse-width | Bubble Editor
No reusable element needed.
Nice plugin functionality btw
Itās not working. So, I went back to basics and just tried to make text show/hide with a conditional. But the text always shows, regardless of if an event is active?
https://vdfgfdg.bubbleapps.io/version-test/dashboard?debug_mode=true
Your text element is visible on page load, AND also when your condition is true. Meaning itās always visible.
Also, your condition will be true only when there are ZERO events in your entire database, regardless of whether or not the current user has created any, as you havenāt set any constraints on your search (and donāt have any privacy rules on your event datatype).
Ugh, I keep forgetting about the constraints. Thanks Adam, Iāve fixed this now, although Iāve still not added privacy rules on my event datatype Events will have a public page where everyone can view all events.
thank you
Appreciate the offer, looks good but I wanted to try and learn the āmanualā slower way as Iām learning Bubble from scratch.