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
{{ message }}
This repository has been archived by the owner on May 29, 2019. It is now read-only.
I'm grabbing metadata from an API where I know which page I would like to grab via the url parameters, but the total-items takes a few milliseconds to populate.
Because total-items starts out undefined, ngModel is changed from the correct page number to 1.
The only way I have gotten around this is to initialize total-items to an arbitrary number such as 1000. Then the page number is left alone.
Is there a better solution?
The text was updated successfully, but these errors were encountered:
This sounds like a bug. However, in order for me to verify and test the fix, I need a Plunker that demonstrates this issue. Do you mind creating an Plunker for this? You could use $timeout to simulate retrieval of the total-items.
I'm grabbing metadata from an API where I know which page I would like to grab via the url parameters, but the total-items takes a few milliseconds to populate.
Because total-items starts out undefined, ngModel is changed from the correct page number to 1.
The only way I have gotten around this is to initialize total-items to an arbitrary number such as 1000. Then the page number is left alone.
Is there a better solution?
The text was updated successfully, but these errors were encountered: