Skip to content
This repository has been archived by the owner on Nov 3, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant