You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've render a list of voting of item like this <ReactStars id={index} className="star-vote" onChange={this.feedBack} size={35} half={false} count={5} value={item.VoteAvg} color1={'gray'} color2={'#009CDE'} edit={true}/>
Now I need to set and get the id for ReactStars component, or is there any other way that I can pass another param to onChange handler ?
The text was updated successfully, but these errors were encountered:
phongnhat19
changed the title
Get the e.target in onChange handler
Get the e.target or pass another param into onChange handler
Dec 19, 2017
I've render a list of voting of item like this
<ReactStars id={index} className="star-vote" onChange={this.feedBack} size={35} half={false} count={5} value={item.VoteAvg} color1={'gray'} color2={'#009CDE'} edit={true}/>
Now I need to set and get the id for ReactStars component, or is there any other way that I can pass another param to onChange handler ?
The text was updated successfully, but these errors were encountered: