Skip to content

Commit

Permalink
Merge 62c1d37 into 7ebb064
Browse files Browse the repository at this point in the history
  • Loading branch information
uuid1017 committed Jun 8, 2016
2 parents 7ebb064 + 62c1d37 commit fe2ab68
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Select.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ const Select = React.createClass({
onSearch: PropTypes.func,
placeholder: PropTypes.any,
onDeselect: PropTypes.func,
onDropdownVisibleChange: PropTypes.func,
labelInValue: PropTypes.bool,
value: PropTypes.any,
defaultValue: PropTypes.any,
Expand All @@ -74,6 +75,7 @@ const Select = React.createClass({
onSelect: noop,
onSearch: noop,
onDeselect: noop,
onDropdownVisibleChange: noop,
showArrow: true,
dropdownMatchSelectWidth: true,
dropdownStyle: {},
Expand Down Expand Up @@ -164,7 +166,9 @@ const Select = React.createClass({
},

onDropdownVisibleChange(open) {
const props = this.props;
this.setOpenState(open);
props.onDropdownVisibleChange(open);
},

// combobox ignore
Expand Down

0 comments on commit fe2ab68

Please sign in to comment.