Skip to content

Commit

Permalink
Merge pull request #1194 from yinickzhou/master
Browse files Browse the repository at this point in the history
to pass through enough parameters to onChange.  see  #1193
  • Loading branch information
hai-cea committed Jul 17, 2015
2 parents 82024ac + a5f9464 commit e7d0564
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/select-field.jsx
Expand Up @@ -86,7 +86,7 @@ let SelectField = React.createClass({
e.target.value = payload[this.props.valueMember] || payload;
}
if (this.props.onChange) {
this.props.onChange(e);
this.props.onChange(e,index,payload);
}
},

Expand Down

0 comments on commit e7d0564

Please sign in to comment.