Richard Bot
Richard Bot
Fixed by https://github.com/final-form/react-final-form-arrays/pull/186 PR #186 (merged today) fixed this by: 1. Removing the outdated manual `src/index.d.ts` file that had incorrect type definitions 2. Letting TypeScript generate types from source (`src/types.ts`)...
Hey @HansKre — also an unintentional regression. Removing generics from `UseFieldAutoConfig` wasn't intentional and causes the downstream `any` type spread you're seeing. **v5.0.1 is now out on npm** with several...
This issue is a duplicate of https://github.com/final-form/final-form/issues/487 and has been fixed in final-form PR #525: https://github.com/final-form/final-form/pull/525 The fix tracks dirty state for unregistered fields (like the array field when using...
## Investigation Results I've investigated this issue and here's what I found: **Root Cause:** When using debounced async validators, the debounce function **doesn't reject** old promises - it simply doesn't...
## Investigation Results I've investigated this issue and confirmed the behavior you're experiencing. **Root Cause:** This is actually **expected behavior** for the subscription system in React Final Form. **Explanation:** When...
Thanks for this contribution! 👍 I can see you've been using this in production for a couple of years. **What this adds:** - Async validation support for `useFieldArray` (detects Promises...
✅ **CodeRabbit CHANGES_REQUESTED addressed** Fixed the React 19 compatibility issue by removing `ReactDOM.findDOMNode()` usage: **Changes:** - Removed `ReactDOM` import (no longer needed) - Added `rootRef = React.createRef()` to track the...
❌ **Tests failing - working on it** The ref-based refactoring broke the tests because they were heavily mocked around `ReactDOM.findDOMNode`. **The Problem:** - Tests mock findDOMNode to return fake DOM...
The FieldPattern TOC entry already matches the documented signature now: `FieldName | RegExp | (FieldName | RegExp)[]`. Validation: yarn jest --runInBand; nps lint; nps typescript; nps build.
@coderabbitai review