Skip to content

Commit

Permalink
Change default options prop
Browse files Browse the repository at this point in the history
  • Loading branch information
karaggeorge committed Nov 10, 2017
1 parent 6cc59dd commit a75d9ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Creatable.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class CreatableSelect extends React.Component {
}) {
const { isOptionUnique } = this.props;

options = options || this.select.filterOptions();
options = options || this.props.options;

return isOptionUnique({
labelKey: this.labelKey,
Expand Down

0 comments on commit a75d9ae

Please sign in to comment.