Skip to content

When I create a invoice by click submit button, and validated by useActionState, the form I've filled would be empty, how to resolve that? #1021

Open
@fanhefeng

Description

@fanhefeng

I want create or update a invoice, and click the submit button. Then validated by useActionState hook. And the form I've already filled would be empty.
Is there any way to resolve this uncontrolled component problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions