Skip to content
Source
Sign inSign up
TanStack/form

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

Mergedharry-whorlow(GitHub profile, opens in a new tab)merged 7 commits intomain fromrefs/pull/1223/headmerged by harry-whorlow(GitHub profile, opens in a new tab)

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

    1. View your CI Pipeline Execution ↗ for commit a6133d7adb02439f12cea74bb1190f21440fdf6a.

      CommandStatusDurationResult
      nx affected --targets=test:sherif,test:knip,tes...✅ Succeeded2mView ↗
      nx run-many --target=build --exclude=examples/**✅ Succeeded22sView ↗

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

    2. Codecov Report

      All modified and coverable lines are covered by tests :white_check_mark:

      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              

      :umbrella: View full report in Codecov by Sentry. :loudspeaker: 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.
  • OutdatedResolvedby harry-whorlow(GitHub profile, opens in a new tab)
  • Sign in to join this conversation.