How to solve below problem with text color in repeating group pagination?

Hello,

I have added a repeating group in my app and it contains pagination. There are a set of page numbers below repeating group. When user clicks on 1st page or 2nd page, i change color of this text and background color so the user can know it is in which page. I have added a condition for this. Now the problem is the condition is working fine for background color but it is not working for text color. I have also added a custom state to know the user in which page number.

Below is the screenshot of the pagination page number below repeating group. In this image, user is on 1st page.

Below is the screenshot from the Bubble editor that contains text

I don’t know why the text color is coming as white.

Bubble works from bottom to top. It picks the first most bottom condition and runs with it. In this case it’s seeing your bottom condition as accurate, so it’s using that one.

You will need to figure out why your logic doesn’t work though.

I tried to move the existing bottom condition up and up condition down and it is still not working

It is working now. I have made changes in the text. I removed unnecessary stuff like space,etc and than it worked for me.

image

Good stuff… Yeah I said your logic wasn’t working, not the condition. Glad you found the issue.

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