Skip to content

Commit

Permalink
Adding back ref that was removed in rc2
Browse files Browse the repository at this point in the history
  • Loading branch information
jooj123 committed Sep 24, 2016
1 parent b4a3fd1 commit d5f2ce2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Async.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,8 @@ export default class Async extends Component {
const props = {
noResultsText: isLoading ? loadingPlaceholder : searchPromptText,
placeholder: isLoading ? loadingPlaceholder : placeholder,
options: isLoading ? [] : options
options: isLoading ? [] : options,
ref: (ref) => (this.select = ref)
};

return children({
Expand Down

0 comments on commit d5f2ce2

Please sign in to comment.