From 6c6a61edcb7a3714e44a059efe259a80717ea96c Mon Sep 17 00:00:00 2001 From: yinickzhou Date: Fri, 17 Jul 2015 17:14:02 +0800 Subject: [PATCH] to pass through enough parameters to onChange. see #1193 I raised #1193 for describing the reason --- src/select-field.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/select-field.jsx b/src/select-field.jsx index 97b2f0107e1265..57f94e8fe8fe83 100644 --- a/src/select-field.jsx +++ b/src/select-field.jsx @@ -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); } },