Good morning all!
The gray icon in the image below supposed to be yellow. Gray is the standard color, without conditions applied. I need to refresh the page to get the right condition applied.
So the condition changes after the page is already loaded while your icon color doesn’t change, Right ?
That’s normal because the conditions are evaluated on the page load that’s why when you refresh the page, the correct icon color is displayed.
I would suggest you use custom states instead.
Hope this helps !
But actually the condition in Bubble is checked in real time. When it changes in the back end a websocket refreshes the info in the frontend. You can make the test by changing a data manually in the database and check for the status of the object. I use it all over my application.
But specificaly in this case, sometimes the icon doesn’t behave as expected.
I tried custom states already. But it didn’t work.
ok noted. Thanks for your reply. So in this case are you sure your conditions are correct ? Did you try to print out the result of your conditions to verify their correctness ?
Also do your conditions contradict with other conditions ?