feat(form-core): Add options to reset/replace/delete all fields [FieldGroupApi]#1962
feat(form-core): Add options to reset/replace/delete all fields [FieldGroupApi]#1962kusiewicz wants to merge 1 commit intoTanStack:mainfrom
Conversation
🦋 Changeset detectedLatest commit: bf03c6c The changes in this PR will be included in the next version bump. This PR includes changesets to release 13 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
View your CI Pipeline Execution ↗ for commit bf03c6c
☁️ Nx Cloud last updated this comment at |
Codecov Report❌ Patch coverage is
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. 🚀 New features to boost your workflow:
|
2149a92 to
1ce55b0
Compare
1ce55b0 to
bf03c6c
Compare
|
Not sure what codecov is on about, so I'll ignore that bit for the review. Thanks for tackling this! |
|
Just a heads up, there's some reworks of how state works in TSF, so it would conflict with this PR. The changes shouldn't be drastic, but it'll likely cause a merge conflict once done. |
🎯 Changes
Regarding: #1684
This PR adds functionalities to the Field Group API:
resetAllFields- reset all group fields to their default valuesdeleteAllFields- delete all fields from the current group instancereplaceAllFields- replace all group fields with new provided valuesWhen accepted, I will prepare documentation update.
✅ Checklist
pnpm test:pr.🚀 Release Impact