Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: react-hook-form/react-hook-form
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v7.71.2
Choose a base ref
...
head repository: react-hook-form/react-hook-form
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v7.72.0
Choose a head ref
  • 6 commits
  • 16 files changed
  • 4 contributors

Commits on Feb 28, 2026

  1. ⚓️ feat: build-in form level validate (#13195)

    * feat: build in form valdiate
    
    * update max size
    
    * update with input react to validate form
    
    * update api
    
    * update api
    
    * fix type
    
    * fix all the format issues
    
    * update valdiation logic and add test
    
    * remove only
    
    * update validation logic to support event-based validation
    
    * make prop name shorter and update validation
    
    * fix tests and api contractor
    
    * rename form error to form
    
    * rename to valid
    
    * minor clean up
    
    * revert back function
    
    * fix with early exit
    
    * fix test
    
    * fix type and contract
    
    * update api
    
    * lint update
    bluebill1049 authored Feb 28, 2026
    Configuration menu
    Copy the full SHA
    6067c3f View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2026

  1. 🐞 fix: prevent useFieldArray from marking unrelated fields as dirty (#…

    …13299)
    
    * 🐞 fix: prevent useFieldArray from marking unrelated fields as dirty (#13054)
    
    Previously, _setFieldArray replaced the entire dirtyFields object via
    getDirtyFields(), which included false entries for non-dirty fields.
    This caused unrelated fields (name, age, etc.) to appear in dirtyFields
    after append/remove operations.
    
    Now only the field array portion of dirtyFields is updated, preserving
    the dirty state of other fields.
    
    * 🐞 fix: use root field name for nested field array dirty tracking
    
    * 🐞 fix: use getNodeParentName for nested field array dirty tracking
    
    * ✅ test: remove test comments
    
    * ✅ test: add nested indexed field array regression test
    6810779s authored Mar 11, 2026
    Configuration menu
    Copy the full SHA
    2e8f081 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2026

  1. Configuration menu
    Copy the full SHA
    3f4d0f3 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2026

  1. 📖 chore: update issue template CodeSandbox links (#13315)

    This commit updates the react-hook-form V7 JavaScript and TypeScript
    CodeSandbox links in GitHub issue template. This will ensure that the
    latest version of `react-hook-form` is used.
    BrendanC23 authored Mar 18, 2026
    Configuration menu
    Copy the full SHA
    f5deec5 View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2026

  1. Configuration menu
    Copy the full SHA
    f5373fe View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2026

  1. 7.72.0

    bluebill1049 committed Mar 22, 2026
    Configuration menu
    Copy the full SHA
    1fecf73 View commit details
    Browse the repository at this point in the history
Loading