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

[Bug]: The FieldArrayHelpers returned from useFieldArray don't know about the type argument. #341

Open
1 of 4 tasks
VirtuaBoza opened this issue Nov 25, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@VirtuaBoza
Copy link

Which packages are impacted?

  • remix-validated-form
  • @remix-validated-form/with-zod
  • @remix-validated-form/with-yup
  • zod-form-data

What version of these packages are you using?

  • remix-validated-form@5.1.5

Please provide a link to a minimal reproduction of the issue.

This is not a behavior issue.

Steps to Reproduce the Bug or Issue

The FieldArrayHelpers returned from useFieldArray don't know about the type argument.

Expected behavior

This line: https://github.com/airjp73/remix-validated-form/blob/main/packages/remix-validated-form/src/internal/state/fieldArray.tsx#L168 should forward the type argument to FieldArrayHelpers unless I'm mistaken.

Screenshots or Videos

No response

Platform

N/A

Additional context

No response

@VirtuaBoza VirtuaBoza added the bug Something isn't working label Nov 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant