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

Passing all props to <input> element #29

Closed
jacobboon opened this issue Jul 2, 2016 · 2 comments
Closed

Passing all props to <input> element #29

jacobboon opened this issue Jul 2, 2016 · 2 comments
Assignees
Milestone

Comments

@jacobboon
Copy link

The latest React release (15.2.0, from July 1st) produces a warning that not all props should be passed to the element.

[Error] Warning: Unknown props `filteredOptions`, `labelKey`, `onAdd`, `onRemove`, `text` on <input> tag. Remove these props from the element. For details, see https://fb.me/react-unknown-prop
    in input (created by TypeaheadInput)
    in div (created by TypeaheadInput)
    in TypeaheadInput (created by Typeahead)
    in div (created by Typeahead)
    in Typeahead (created by TypeaheadClickOutside)
    in TypeaheadClickOutside (created by SearchBarContainer)

This seems to be an issue with TypeaheadInput.react.js#L44

@ericgio
Copy link
Owner

ericgio commented Jul 3, 2016

Thanks for the report! I'll take a look.

@ericgio ericgio self-assigned this Jul 7, 2016
@ericgio ericgio added this to the v0.6.0 milestone Jul 18, 2016
@ericgio
Copy link
Owner

ericgio commented Jul 19, 2016

Fixed in v0.6.0

@ericgio ericgio closed this as completed Jul 19, 2016
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

2 participants