react-native-ratings icon indicating copy to clipboard operation
react-native-ratings copied to clipboard

determine the ranking value directly

Open amanu-nur opened this issue 3 years ago • 4 comments

what if we want to set the value directly?

amanu-nur avatar Apr 02 '21 10:04 amanu-nur

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

sshivananda avatar Apr 05 '21 13:04 sshivananda

Have you tried the defaultRating param?

sshivananda avatar May 23 '21 13:05 sshivananda

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}
          />

vuniverseklaus avatar May 02 '22 18:05 vuniverseklaus

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.

ctenuta avatar Nov 16 '22 15:11 ctenuta