Closed csk157 closed 9 years ago
It turns out that the actual prop passed into the custom list component is not selectedIndex, but selectionIndex
selectedIndex
selectionIndex
See the default one: https://github.com/fmoo/react-typeahead/blob/master/src/typeahead/selector.js#L18
Wow, not sure how I missed this... Thanks!
It turns out that the actual prop passed into the custom list component is not
selectedIndex
, butselectionIndex
See the default one: https://github.com/fmoo/react-typeahead/blob/master/src/typeahead/selector.js#L18