Skip to content

Commit e54be68

Browse files
committed
Revert "Fix cWRP to look at new values Fixes #162"
This reverts commit bda8233. This change will be reintroduced (along with #167) in 2.0.x
1 parent 97f0557 commit e54be68

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(nextProps.entryValue, nextProps.options)
288+
visible: this.getOptionsForValue(this.state.entryValue, nextProps.options)
289289
});
290290
},
291291

0 commit comments

Comments
 (0)