You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The component works fine in my view, however I have a problem with the variable "page". It happens that I have a component that has nested filters, and when I call an API, it returns the results without problems; I scroll, and it brings me data by pages (everything OK). When I change the filter (by dates), the "page" variable is set with the last value of the previous API call, and therefore, sometimes the results are empty. How can I improve the treatment of the "page" variable, so that every time I ask for a new filter, it stays at 1?
Thanks in advanced
The text was updated successfully, but these errors were encountered:
Hi everyone,
The component works fine in my view, however I have a problem with the variable "page". It happens that I have a component that has nested filters, and when I call an API, it returns the results without problems; I scroll, and it brings me data by pages (everything OK). When I change the filter (by dates), the "page" variable is set with the last value of the previous API call, and therefore, sometimes the results are empty. How can I improve the treatment of the "page" variable, so that every time I ask for a new filter, it stays at 1?
Thanks in advanced
The text was updated successfully, but these errors were encountered: