Skip to content

Commit ed49656

Browse files
committed
Merge pull request #163 from nosilleg/double-token
Fix cWRP to look at new values
2 parents e2b5254 + bda8233 commit ed49656

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/typeahead/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ var Typeahead = React.createClass({
285285

286286
componentWillReceiveProps: function(nextProps) {
287287
this.setState({
288-
visible: this.getOptionsForValue(this.state.entryValue, nextProps.options)
288+
visible: this.getOptionsForValue(nextProps.entryValue, nextProps.options)
289289
});
290290
},
291291

0 commit comments

Comments
 (0)