-
Notifications
You must be signed in to change notification settings - Fork 32
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
initialValue is not working #15
Comments
1+ |
For anyone having an issue with this it will respect the initialValue if you don't pass ratingValue. This is a bit of a nuisance especially when using typescript as you will get a ts error (only way around this is to use @ts-ignore) saying that ratingValue must be passed. Should be a simple fix by changing this line -
To be ratingValue?: number since the ratingValue is already being set to 0 if it is not passed. |
Thanks.
this worked |
Thank you guys. This issue should be fixed in the latest release |
initialValue={5}
it does not respect that, and initially it is showing as blank only with no stars filled, even with readonly settings.
The text was updated successfully, but these errors were encountered: