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(form-core): allow set default field meta #424

Merged
merged 1 commit into from
Aug 31, 2023
Merged

Conversation

joaom00
Copy link
Contributor

@joaom00 joaom00 commented Aug 31, 2023

While writing tests for onChange validation in the react adapter, I noticed that the default meta wasn't being passed to the field. This PR aims to fix that

@codesandbox-ci
Copy link

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.

Copy link
Member

@crutchcorn crutchcorn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing fix as usual @joaom00 - thank you so so so much for joining us over from HouseForm!!

Just one small thing before we merge

packages/form-core/src/tests/FieldApi.spec.ts Show resolved Hide resolved
@crutchcorn
Copy link
Member

crutchcorn commented Aug 31, 2023

Dunno what's going on with Lint or Typecheck but it's clearly unrelated to the code. I'll check locally and we'll merge and fix later if need-be

@crutchcorn
Copy link
Member

There are tests failing, but they're not related to your work. Merging

@crutchcorn crutchcorn merged commit 6956d50 into TanStack:main Aug 31, 2023
2 of 5 checks passed
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.

2 participants