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

Unable to set 0 as rating value #9

Open
Pumayk26 opened this issue Oct 24, 2021 · 2 comments
Open

Unable to set 0 as rating value #9

Pumayk26 opened this issue Oct 24, 2021 · 2 comments

Comments

@Pumayk26
Copy link

When I tried to apply 0 as rating value (in this case all stars must be outline style not filled) by default it assign 3. I saw in the code checking rating value as this.rating || 3. So when I set the value as 0 it will auto assign 3 instead. Anyone else had this issue or it's just me.?

@dfox288
Copy link

dfox288 commented Apr 3, 2022

I was able to circumvent this issue by setting rating to 0.1 ;-)

@zavovi
Copy link

zavovi commented Sep 6, 2023

I have same problem. I want to set default = 0, because my form can by send with empty rating.

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

3 participants