Browse Source

Fix cascader onChange bug in IE

pull/1113/head
afc163 9 years ago
parent
commit
d10d92c455
  1. 4
      components/cascader/index.jsx

4
components/cascader/index.jsx

@ -70,6 +70,10 @@ class AntCascader extends React.Component {
[`${prefixCls}-picker`]: true,
[`${prefixCls}-picker-disabled`]: disabled,
});
// Fix bug of https://github.com/facebook/react/pull/5004
delete otherProps.onChange;
return (
<Cascader {...this.props}
value={this.state.value}

Loading…
Cancel
Save