Skip to content

Conversation

@kusiewicz
Copy link
Contributor

🎯 Changes

Regarding: #1684

This PR adds functionalities to the Field Group API:

resetAllFields - reset all group fields to their default values
deleteAllFields - delete all fields from the current group instance
replaceAllFields - replace all group fields with new provided values

When accepted, I will prepare documentation update.

✅ Checklist

  • I have followed the steps in the Contributing guide.
  • I have tested this code locally with pnpm test:pr.

🚀 Release Impact

  • This change affects published code, and I have generated a changeset.
  • This change is docs/CI/dev-only (no release).

@changeset-bot
Copy link

changeset-bot bot commented Dec 30, 2025

⚠️ No Changeset found

Latest commit: 2149a92

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@nx-cloud
Copy link

nx-cloud bot commented Dec 30, 2025

View your CI Pipeline Execution ↗ for commit 2149a92

Command Status Duration Result
nx affected --targets=test:sherif,test:knip,tes... ✅ Succeeded 2m View ↗
nx run-many --target=build --exclude=examples/** ✅ Succeeded 33s View ↗

☁️ Nx Cloud last updated this comment at 2025-12-30 17:26:13 UTC

@pkg-pr-new
Copy link

pkg-pr-new bot commented Dec 30, 2025

More templates

@tanstack/angular-form

npm i https://pkg.pr.new/@tanstack/angular-form@1962

@tanstack/form-core

npm i https://pkg.pr.new/@tanstack/form-core@1962

@tanstack/form-devtools

npm i https://pkg.pr.new/@tanstack/form-devtools@1962

@tanstack/lit-form

npm i https://pkg.pr.new/@tanstack/lit-form@1962

@tanstack/react-form

npm i https://pkg.pr.new/@tanstack/react-form@1962

@tanstack/react-form-devtools

npm i https://pkg.pr.new/@tanstack/react-form-devtools@1962

@tanstack/react-form-nextjs

npm i https://pkg.pr.new/@tanstack/react-form-nextjs@1962

@tanstack/react-form-remix

npm i https://pkg.pr.new/@tanstack/react-form-remix@1962

@tanstack/react-form-start

npm i https://pkg.pr.new/@tanstack/react-form-start@1962

@tanstack/solid-form

npm i https://pkg.pr.new/@tanstack/solid-form@1962

@tanstack/solid-form-devtools

npm i https://pkg.pr.new/@tanstack/solid-form-devtools@1962

@tanstack/svelte-form

npm i https://pkg.pr.new/@tanstack/svelte-form@1962

@tanstack/vue-form

npm i https://pkg.pr.new/@tanstack/vue-form@1962

commit: 2149a92

@codecov
Copy link

codecov bot commented Dec 30, 2025

Codecov Report

❌ Patch coverage is 62.50000% with 9 lines in your changes missing coverage. Please review.
✅ Project coverage is 89.13%. Comparing base (6892ed0) to head (2149a92).
⚠️ Report is 111 commits behind head on main.

Files with missing lines Patch % Lines
packages/form-core/src/FieldGroupApi.ts 62.50% 7 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1962      +/-   ##
==========================================
- Coverage   90.35%   89.13%   -1.23%     
==========================================
  Files          38       48      +10     
  Lines        1752     1969     +217     
  Branches      444      492      +48     
==========================================
+ Hits         1583     1755     +172     
- Misses        149      191      +42     
- Partials       20       23       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

1 participant