I can take name and name's value on html select attribute like that:
onChange = e => {
this.setState({ [e.target.name]: e.target.value });
};
<select name="gender" onChange={this.onChange}>
<option selected>Choose</option>
If I print it, it's like that gender:"woman". But I have one more select which name="gender" and I want to take them as array.If I use one more select without changing onChange method, print will like gender:"man" (last select's value). I research on internet and I can't find anything for this issue.