Skip to content

use FormData in form with fetch #37

@moshg

Description

@moshg

e.g. sign in page is not made by conform.

We can create FormData from form element:
https://developer.mozilla.org/ja/docs/Web/API/FormData/FormData
We can parse FormData:
https://conform.guide/api/zod/parseWithZod

Or we can combine fetch and conform's onSubmit with preventDefault maybe.

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