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

Prefill input by external values #65

@zamarawka

Description

@zamarawka

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions