Skip to content

feat(core): form reset field utility function#1223

Merged
harry-whorlow merged 7 commits intoTanStack:mainfrom
harry-whorlow:reset-field
Mar 16, 2025
Merged

feat(core): form reset field utility function#1223
harry-whorlow merged 7 commits intoTanStack:mainfrom
harry-whorlow:reset-field

Conversation

@harry-whorlow
Copy link
Copy Markdown
Contributor

From issue #1177 and discussion #1159 this PR introduces form.resetField() utility

@nx-cloud
Copy link
Copy Markdown

nx-cloud bot commented Mar 5, 2025

View your CI Pipeline Execution ↗ for commit a6133d7.

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

☁️ Nx Cloud last updated this comment at 2025-03-11 09:24:13 UTC

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Mar 5, 2025

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 5, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.86%. Comparing base (4ef7fd1) to head (a6133d7).
Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1223      +/-   ##
==========================================
+ Coverage   88.81%   88.86%   +0.05%     
==========================================
  Files          28       28              
  Lines        1269     1275       +6     
  Branches      331      332       +1     
==========================================
+ Hits         1127     1133       +6     
  Misses        127      127              
  Partials       15       15              

☔ 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.

@harry-whorlow harry-whorlow marked this pull request as ready for review March 5, 2025 14:41
Copy link
Copy Markdown
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.

Minor request

Comment thread packages/form-core/src/FormApi.ts Outdated
@harry-whorlow harry-whorlow merged commit b32b010 into TanStack:main Mar 16, 2025
6 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