4umo / react-native-stars

a versatile react native star review component with half star compatibility and custom images, star sizes, star count, star spacing, and value display.
MIT License
91 stars 19 forks source link

Unable to make 0 ratings #26

Open SahilKKothari opened 4 years ago

SahilKKothari commented 4 years ago

I make use of this library and found that I can't make 0 rating after setting 1 or half of rating. And one more thing is there any way to set default rating as 1 later user won't able to make 0.5 rating. Can anyone please help me out?

4umo commented 4 years ago

Hi Sahil - thanks for reaching out - will look into this soon when I've got a moment. In the meantime, feel free to poke around the code and investigate/open a PR if so inclined.

SahilKKothari commented 4 years ago

@Extrct Is there any way we can set default rating as 1 and later we want to restrict users, that user can't make rating less than 1.

4umo commented 4 years ago

We don't currently have this feature - but seems like it would be a relatively straightforward addition to enforce a minimum during selection mode. Thanks for the suggestion!