Skip to content
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

Rating 0 defaulting to 3 #4

Open
NischayaSharma opened this issue Jul 9, 2021 · 1 comment
Open

Rating 0 defaulting to 3 #4

NischayaSharma opened this issue Jul 9, 2021 · 1 comment

Comments

@NischayaSharma
Copy link

<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
Copy link

JayPansuriyaVC commented Aug 30, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants