Skip to content
Source
Sign inSign up
TanStack/form

feat(form-core): field meta isDefaultValue #1456

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

    1. nx-cloud[bot](GitHub profile, opens in a new tab)commented

      View your CI Pipeline Execution ↗ for commit 12b94be9ca888f2840616f0e884cea848a37d764.

      CommandStatusDurationResult
      nx affected --targets=test:sherif,test:knip,tes...✅ Succeeded1m 31sView ↗
      nx run-many --target=build --exclude=examples/**✅ Succeeded21sView ↗

      ☁️ Nx Cloud last updated this comment at 2025-05-07 17:43:24 UTC

    2. pkg-pr-new[bot](GitHub profile, opens in a new tab)commented
      More templates

      @tanstack/angular-form

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

      @tanstack/form-core

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

      @tanstack/lit-form

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

      @tanstack/react-form

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

      @tanstack/solid-form

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

      @tanstack/svelte-form

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

      @tanstack/vue-form

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

      commit: 12b94be

    3. codecov[bot](GitHub profile, opens in a new tab)commented

      Codecov Report

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

      Project coverage is 89.04%. Comparing base (3fe66dd) to head (12b94be). Report is 2 commits behind head on main.

      Additional details and impacted files
      @@            Coverage Diff             @@
      ##             main    #1456      +/-   ##
      ==========================================
      + Coverage   88.96%   89.04%   +0.07%     
      ==========================================
        Files          31       31              
        Lines        1396     1406      +10     
        Branches      353      359       +6     
      ==========================================
      + Hits         1242     1252      +10     
        Misses        137      137              
        Partials       17       17              

      :umbrella: View full report in Codecov by Sentry. :loudspeaker: Have feedback on the report? Share it here.

      :rocket: New features to boost your workflow:
      • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
      • :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
  • LeCarbonator(GitHub profile, opens in a new tab)commented

    Since isDirty and isPristine are opposites, how about merging the two rows in the visualization? That could reduce the verticality of the image

  • There are a few things to tweak but overall this will be a great addition!

    Balastrong(GitHub profile, opens in a new tab)replied on packages/form-core/src/utils.ts line 447

    I think shallow already does the compare we need

  • Balastrong(GitHub profile, opens in a new tab)replied on packages/form-core/src/utils.ts line 447

    Why do we need that extra flag? I mean, maybe it has always been a bug that we didn't check inside arrays :)

  • Balastrong(GitHub profile, opens in a new tab) approved these changes

    I think we're in a really good state and it's probably enough to merge, if we missed something or there's room for improvement we can collect more feedback and tackle that on another PR :)

    Thank you for addressing all the comments!

  • Sign in to join this conversation.