Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix Date, FileList, File and Blob FieldErrors mapping #8772

Merged
merged 3 commits into from Jul 30, 2022

Conversation

vemoo
Copy link
Contributor

@vemoo vemoo commented Jul 30, 2022

It seems #8754 didn't fully fix #8749.
I've added a test and completed DeepRequired to fix it.

@codesandbox-ci
Copy link

codesandbox-ci bot commented Jul 30, 2022

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 36e46f4:

Sandbox Source
React Hook Form V7 (JS) Template Configuration
React Hook Form V7 (TS) Template Configuration
cocky-swirles-ysint2 Issue #8749
optimistic-heyrovsky-xdkm1n Issue #8749

@bluebill1049
Copy link
Member

thanks for the fix 👍

@bluebill1049 bluebill1049 merged commit 5f99fba into react-hook-form:master Jul 30, 2022
@mneira10
Copy link

Hi! Could you release this fix please? Currently getting some errors when trying to pass errors from the formState to a component as props in typescript

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FieldError] - unexpected type error for Date property which is not nullable
3 participants