Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

Commit

Permalink
to pass through enough parameters to onChange. see mui#1193
Browse files Browse the repository at this point in the history
I raised mui#1193 for describing the reason
  • Loading branch information
yinickzhou authored and JAStanton committed Jul 30, 2015
1 parent 6f95b12 commit 6c6a61e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/select-field.jsx
Original file line number Diff line number Diff line change
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 6c6a61e

Please sign in to comment.