Skip to content

use FormData in form with fetch #37

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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