JeongJun-Lee / ionic5-star-rating

17 stars 25 forks source link

Rating 0 defaulting to 3 #4

Open NischayaSharma opened 3 years ago

NischayaSharma commented 3 years ago

<ionic5-star-rating halfStar="true" [rating]="0" activeColor="#ffcb00" readonly="true" fontSize="xx-large"></ionic5-star-rating>

When i do this, it shows 3 stars in the UI, instead of the 0. Even 0.5 is working, but 0 is defaulting to 3. Any fixes ?

JayPansuriyaVC commented 1 year ago

Try adding string value instead of number, like '0' on instead of 0.