Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typeahead containing both "value & defaultValue" props #206

Open
andynhi opened this issue Jun 21, 2016 · 5 comments
Open

Typeahead containing both "value & defaultValue" props #206

andynhi opened this issue Jun 21, 2016 · 5 comments

Comments

@andynhi
Copy link

andynhi commented Jun 21, 2016

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
Copy link
Contributor

isnifer commented Jul 1, 2016

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

@Semigradsky
Copy link

Semigradsky commented Jul 1, 2016

The same with react-typeahead v1.1.9

@caitwood
Copy link

caitwood commented Jul 5, 2016

Seeing the same problem. Also v1.1.9

@devnetf
Copy link

devnetf commented Jul 17, 2016

Same here

@erbridge
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants