Skip to content

Zod schema return object instead of FormData #1089

@andrew-shpak

Description

@andrew-shpak

Describe the bug and the expected behavior

When schema contains file and bool usually server expect to see formData instead of object.
Currently we can use only objects itself

Conform version

v1.13.2

Steps to Reproduce the Bug or Issue

  1. Create form with file and bool
  2. try to convert it back to formData by conform primitives

What browsers are you seeing the problem on?

No response

Screenshots or Videos

No response

Additional context

No response

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