Skip to content

Commit

Permalink
SelectField fix
Browse files Browse the repository at this point in the history
  • Loading branch information
igorokb committed Sep 8, 2017
1 parent db7a4c8 commit eaeb999
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/SelectField/SelectField.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,12 +236,6 @@ class SelectField extends Component {

const styles = getStyles(this.props, this.context);

const {
onOpen,
onClose,
...otherDropDownMenuProps
} = dropDownMenuProps;

return (
<TextField
{...other}
Expand Down Expand Up @@ -280,7 +274,7 @@ class SelectField extends Component {
selectionRenderer={selectionRenderer}
onOpen={this.onOpen}
onClose={this.onClose}
{...otherDropDownMenuProps}
{...dropDownMenuProps}
>
{children}
</DropDownMenu>
Expand Down

0 comments on commit eaeb999

Please sign in to comment.