Closed Inchill closed 9 months ago
<ReactStars className={cx('rating')} count={5} half={false} value={formData.score} onChange={ratingChanged} size={30} color1='#F2F2F2' color2='#FADB15' edit={!hasSubmitted} />
When I've submitted form, the rating star actually can interactive with users, so how to solve this problem?
I've found a way using key to make the component rerender.
The issue has been solved.
When I've submitted form, the rating star actually can interactive with users, so how to solve this problem?