mihnsen / ui-carousel

A simple, lightweight module for carousel in your AngularJS app, Inspired from slick carousel.
http://mihnsen.github.io/ui-carousel/
MIT License
76 stars 66 forks source link

using filtering #40

Open MarwaAbuEssa opened 7 years ago

MarwaAbuEssa commented 7 years ago

hi, i'm trying to use angular filter with carousel in template :

itam.name

i'm getting phones array from http request and then after promise return setting doneloading= true

i tries to use filtering as follow <ui-carousel slides="Phones | filter:{'Label':category}" ....

category value from dropdown

so the problem is filtering causes an error about loading and digest loop

the issue is urgent for release , any help is appreciated

regards,

MarwaAbuEssa commented 7 years ago

i also tried my custom filter from angular js , user selects a category and display phones in this category in carsoul the problem is when number of slide in a certain category less than 3 (slidestoshow) the carsoul display no data !!! the only solution i found is to set infinite == true and i don't want to do that

any help ?