ionic-rating icon indicating copy to clipboard operation
ionic-rating copied to clipboard

Changing icons doesn't work

Open tjku opened this issue 10 years ago • 3 comments

Attributes state-on, state-off and rating-states doesn't work for me.

When I try to change default icons (to not to be stars), e.g. by writing <rating ng-model="x" state-on="'ion-thumbsup'" state-off="'ion-thumbsup'"></rating> or <rating ng-model="y" rating-states="ratingStates"></rating> this doesn't work. In first case, icons doesn't change, and in second case rating isn't displayed at all (even with default stars).

Apart from this, rating works just fine.

tjku avatar Feb 19 '15 10:02 tjku

I've fixed this: #8

tjku avatar Feb 19 '15 12:02 tjku

I still cant make it work using this line <rating ng-model="x" state-on="'ion-thumbsup'" state-off="'ion-thumbsup'"></rating>

I see the rating with the default stars

martov1 avatar Oct 20 '15 21:10 martov1

Hi,

I would like to change stars icons but stateOn="fa fa-star" doesn't work for me.

I also see the rating with the default stars.

Any help ?

Thanks

matthieup240 avatar Jul 12 '16 19:07 matthieup240