score:1

this.setState({
    [e.target.name]:e.target.value.split(',')
  });

Related Query

More Query from same tag