voronianski / react-star-rating-component

Basic React component for star (or any other icon based) rating elements
http://voronianski.github.io/react-star-rating-component/example
MIT License
380 stars 77 forks source link

Why there are some radio buttons? #47

Open sandropoluan opened 6 years ago

sandropoluan commented 6 years ago

There are some radio button. see this image: fireshot capture 1 - myeabsen web app - http___localhost_3000_ _performancequestions_step 1

how to get rid of it?

My setting <StarRatingComponent name={"Test"} value={2} editing={true} />

ghost commented 6 years ago

+1

kristianmandrup commented 6 years ago

I would think the component renders radio buttons underneath for accessibility reasons (ie. HTML convention). For some reason your styling overrides the implicit invisible styling I'd bet is part of the component. Simply make sure radio buttons are invisible within this context. That should do the trick!