Marked stars
mvaipa opened this issue · comments
Márcio Vaz commented
Hello, I'm using the plugin, but I can not leave a lot of stars marked, what could I be doing wrong? I'm using rate, but it's not right
<rating [(ngModel)]="rate"
readOnly="true"
rate="2"
max="5"
emptyStarIconName="star-outline"
halfStarIconName="star-half"
starIconName="star"
nullable="false">
Acácio Andruczewicz commented
Hello, @mvaipa. I don't know exactly what you mean by that. Keep in mind that the count of marked stars reflects the value of rate variable (that you set on ngModel).
podisto commented
Hi, u should implement OnInit and set the default values (ie numbers of stars marked you want).