-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Functioning Demo #4
Comments
@jermsull good point. Is example from README not enough? https://github.com/hyzhak/ui-select-infinity#example |
Would be useful to see a server side implementation called in getInfinityScrollChunk(id); For example, what the request would look like and the response would look like, as compared to angular-ui-select. Update: esp. considering I haven't been able to get it to work yet ;) |
Thanks for the quick response, Eugene. I'm pretty new to AngularJS, and it would be nice to see how to combine ui-select, ui-select-infinity, and a data source with infinite scrolling. |
For example, whats the connection between refreshList() and getInfinityScrollChunk(id) ? |
ok, I see, it will take significant amount of time. So will put it in my TODO list but can't give you example right away. But I always open for PR, so if you will find solution please send commits with it |
+1 for this, would be very helpful |
+1 for a plunker |
@andrewboni @varunoberoi ok, are there any ideas which public API with pagination should we use as a demo? |
Just replicate original select2's infinite scroll demo using following API: |
Example is not working, any help? |
An example would be very helpful, Is there any working example (demo) ? |
@1HzAkLAT sadly I'm very occupied right now. But I'm opened for PR contributions |
Here is the example: http://plnkr.co/edit/rzxHXGUm9eKEUqRSKWyj?p=preview before my PR is merged |
It works for me, at least on chrome. I haven’t tested it anywhere else. Can you give me more details about how it’s not working? -sharonx
|
@sharonx sorry it is working now, I have issue with my Internet connection |
There seems to be a bug in the inifite-scrolling module logic when it initializes. I fixed it now it is working for me. Here is an example: http://plnkr.co/edit/p6Dt3yvTq40Vn56AKiqC?p=preview |
@pencilcheck ok, I see. You can create pull request with your changes. So I could merge them to repository |
@hyzhak thanks for this extension. It is really useful. @pencilcheck can you create a pull request with your changes? It will be very appreciated. Thanks! |
Yup. #12 |
Is it possible to add a demo of ui-select-infinity so that people can see how you recommend using ui-select with the infinity scrolling functionality?
The text was updated successfully, but these errors were encountered: