fmoo / react-typeahead

Pure react-based typeahead and typeahead-tokenizer
ISC License
677 stars 232 forks source link

Typeahead containing both "value & defaultValue" props #206

Open andynhi opened 8 years ago

andynhi commented 8 years ago

Anyone have any clues as to why or how I can prevent the component from setting both the defaultValue props and value props? It causes the warning message below. (See image).

component-render

<Typeahead
     className="search"
     options={search}
     onOptionSelected={navigateToPage}
     customClasses={subClasses}
 />

screen shot 2016-06-21 at 1 52 44 pm

isnifer commented 8 years ago

@AndyNhi Are you sure that problem with Typeahead? Typeahead set only value prop

Semigradsky commented 8 years ago

The same with react-typeahead v1.1.9

caitwood commented 8 years ago

Seeing the same problem. Also v1.1.9

devnetf commented 8 years ago

Same here

erbridge commented 7 years ago

This is fixed in 2.0.0-alpha.5, btw.