I have a screen where I want to show the buttons based on a value in the field. But for some reason it keeps showing me the last result even though the values do not match.
I want to show the black button when there is a match that I am accomplishing using the “count” filter
already redeemed code - which you already set up the visibility for correctly.
new code - which you also set up correctly.
empty field; this is the case you need to set up. But why do you want to show the white button when the redeeming code field is empty? shouldn’t empty be invalid?
Since you can’t add an OR condition to the visibility rule that controls the black check, simply add another black check right on top of it that is only visible when the input field is empty. SO you have 3 buttons in total.
@Hanan - Thank you. I tried that and as I show in the clip, the black button (as a list) still shows up even though it doesnt match any records in the database.
I tried another workaround for you, and it did work in my case. Try to make the button only visible when loggedin user count where (code = input)> 0. Then group the button in a group and make the group only visible when the input field is not empty.
anytime. I guess it should be a ticket yes. I just need to pinpoint the exact issue; whether it is empty&&other_filter issue or just two conditions on one component.