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

determine the ranking value directly #142

Open
amanu-nur opened this issue Apr 2, 2021 · 4 comments
Open

determine the ranking value directly #142

amanu-nur opened this issue Apr 2, 2021 · 4 comments

Comments

@amanu-nur
Copy link

what if we want to set the value directly?

@sshivananda
Copy link
Collaborator

@amanu-nur Can you provide more description around what you are trying to accomplish?

@sshivananda
Copy link
Collaborator

Have you tried the defaultRating param?

@vuniverseklaus
Copy link

I set hardcoded 1 to defaultRating and it keeps displaying two stars and half selected, unfortunately I will try another stars library (this in iOS app)

<Rating
            style={{ paddingVertical: 10 }}
            defaultRating={1}
            value={1}
          />

@ctenuta
Copy link

ctenuta commented Nov 16, 2022

I set hardcoded 1 to defaultRating and it keeps displaying two stars and half selected, unfortunately I will try another stars library (this in iOS app)

<Rating
            style={{ paddingVertical: 10 }}
            defaultRating={1}
            value={1}
          />

Same for me... on IOS last version keeps showing two stars and half despite defaultRating set.

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

4 participants