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
Hi & thank you kindly for building this useful directive for Ionic apps.
I'm running into an issue when I attempt to bind data from a factory that pulls from a remote endpoint, which works as intended within a vanilla <ion-list>. From what I can tell, the current code expects the data to already be bound to the ngModel.$viewValue object. This is, of course, not the case with remote data until the promise has been resolved. My current attempt at accomidating promised data within <ion-alpha-list> is to augment your usage of ngModel.$viewValue on line 49 of /src/ion-alpha-scroll.js with the following.
the promised items object is being populated with my remote data, but it is not then being assigned to scope.items. Any help you can provide is very much appreciated & I'll be happy to contribute what I can back to this repo.
The text was updated successfully, but these errors were encountered:
Hi & thank you kindly for building this useful directive for Ionic apps.
I'm running into an issue when I attempt to bind data from a factory that pulls from a remote endpoint, which works as intended within a vanilla
<ion-list>
. From what I can tell, the current code expects the data to already be bound to thengModel.$viewValue
object. This is, of course, not the case with remote data until the promise has been resolved. My current attempt at accomidating promised data within<ion-alpha-list>
is to augment your usage ofngModel.$viewValue
on line 49 of /src/ion-alpha-scroll.js with the following.the promised
items
object is being populated with my remote data, but it is not then being assigned toscope.items
. Any help you can provide is very much appreciated & I'll be happy to contribute what I can back to this repo.The text was updated successfully, but these errors were encountered: