score:4

Accepted answer

pass an expanded lambda function into the prop:

handleselectchange = (event, carid) => {
    // do things with event and carid
}

render() {
    const { cars } = this.props;
    return (
        <carselect
            value={this.state.form.car.carid}
            cars={cars}
            onselectchange={(evt) => handleselectchange(evt, this.state.form.car.carid)} 
        />
    );
}

Related Query

More Query from same tag