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

Prefill input by external values #65

Open
zamarawka opened this issue Nov 15, 2023 · 0 comments
Open

Prefill input by external values #65

zamarawka opened this issue Nov 15, 2023 · 0 comments

Comments

@zamarawka
Copy link

Hi! Thank you for good package!

I have in my requirements prefilling input by value passed in query params of page.
Component's api right now is "uncontrolled", so we can't pass value to props to render it. And we also don't bind input's state with external state, passed via props. Because of this I don't have any legit way to solve my requirement.

It looks like we could extend ref's api smth like setValue as clearInput.

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