react-typeahead icon indicating copy to clipboard operation
react-typeahead copied to clipboard

Typeahead containing both "value & defaultValue" props

Open andynhi opened this issue 9 years ago • 5 comments

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

andynhi avatar Jun 21 '16 21:06 andynhi

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

isnifer avatar Jul 01 '16 07:07 isnifer

The same with react-typeahead v1.1.9

Semigradsky avatar Jul 01 '16 15:07 Semigradsky

Seeing the same problem. Also v1.1.9

caitwood avatar Jul 05 '16 19:07 caitwood

Same here

devnetf avatar Jul 17 '16 16:07 devnetf

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

erbridge avatar Sep 16 '16 14:09 erbridge