Repository navigation
fix: preserve form lifecycle in Mantine wrappers - #65
Merged
Merged
Conversation
aranlucas
marked this pull request as ready for review
October 2, 2026 05:02
github-actions Bot
pushed a commit
that referenced
this pull request
Oct 5, 2026
## [4.0.2](v4.0.1...v4.0.2) (2026-10-05) ### Bug Fixes * keep pnpm 12 lockfiles compatible with Vercel ([#43](#43)) ([930e4a6](930e4a6)) * merge user refs and compose controller props in useFieldController ([#67](#67)) ([870aeff](870aeff)) * preserve form lifecycle in Mantine wrappers ([#65](#65)) ([0869c6f](0869c6f))
|
🎉 This PR is included in version 4.0.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
onBlurcallbacks preserve touched state and on-blur validation.disabledto React Hook Form while preserving the Mantine UI setting and inherited form-level disabled state.valuebehavior compatible.Verification
pnpm formatpnpm lintpnpm typecheck(library, example, compatibility type contract)pnpm test --run --maxWorkers=1 --no-file-parallelism: 106 tests pass across 44 filespnpm buildgit diff --checkCompatibility and limitations
CheckboxGroup historically accepts and applies an external
value. Removing that prop or ignoring it is a source/runtime-breaking change, so this PR deliberately preserves it and tests that behavior. A separate major-version decision could move callers to RHFdefaultValues/defaultValue,setValue, orresetand make controller value authoritative. No breaking ownership correction is included here.Validation used frozen-lockfile dependencies (Mantine 9.6.0, RHF 7.89.0, React 19.3.0) in jsdom, not the full peer-version matrix or a visual browser pass. The optional react-doctor scan was blocked by external telemetry review; no completed score is claimed. No npm release or deployment performed.