Mamad BA
 · Nocode Dev

Cannot updated value to Page state ( type json )

Resolved

Hi Have an issue that i try to solve but i'm a little lost , i dont know why it's not working Here my flow

I develop a screen with two arrows on the top and the data on this screen change depending on with arrow is clicked ( left o right )

I make API CALL and when the response is not an empty array i want to update my json Page State and when it's an empty array i want to reset this Page State

The first condition works but when the response is an empty array i cannot reset the Page State / set the page with this response .

The page state still contain the previous data ....

( The flow is the same for the left or the right arrow )

Thank you for your help ^^

2 replies