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

Proptype warning on search input #486

Open
peterbe opened this issue Feb 7, 2019 · 1 comment
Open

Proptype warning on search input #486

peterbe opened this issue Feb 7, 2019 · 1 comment

Comments

@peterbe
Copy link
Contributor

peterbe commented Feb 7, 2019

Warning: Failed prop type: You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.
    in input (created by SearchBox)
    in form (created by SearchBox)
    in div (created by SearchBox)
    in SearchBox (at App.js:227)
    in div
    in div
    in Unknown (at App.js:226)
    in div
    in Unknown (at App.js:225)
    in SearchkitProvider (at App.js:224)
    in div (at App.js:223)
    in App (at src/index.js:10)
@peterbe
Copy link
Contributor Author

peterbe commented Feb 7, 2019

It's a "bug" in SearchKit. Perhaps addressing #417 is the right thing to do.

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

1 participant