Skip to content

Input type="number' validation #1076

@andrew-shpak

Description

@andrew-shpak

Describe the bug and the expected behavior

I am using feature useControl hook with input number. When I trying to submit value zod form said Invalid input: expected number, received string and value for instance "88" instead of 88. Also control.change does not support Set, Map, number types

Conform version

v1.13.0

Steps to Reproduce the Bug or Issue

  1. Create form with 1 number field
  2. Create default form with number field which contains useContol
  3. Try to submit

What browsers are you seeing the problem on?

Firefox

Screenshots or Videos

Image

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