Skip to content

Commit

Permalink
Fix to exclude onChange from getting passed on ...rest
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanblakeley committed Jul 20, 2017
1 parent 885edc3 commit 7be129d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/FormsySelect.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ const FormsySelect = createClass({
validationError, // eslint-disable-line no-unused-vars
validationErrors, // eslint-disable-line no-unused-vars
value: valueProp,
onChange,
...rest
} = this.props;

Expand Down

0 comments on commit 7be129d

Please sign in to comment.