Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formik.dirty is not reacting to nested changes #3948

Closed
vladtopchu opened this issue Jan 28, 2024 · 1 comment
Closed

Formik.dirty is not reacting to nested changes #3948

vladtopchu opened this issue Jan 28, 2024 · 1 comment

Comments

@vladtopchu
Copy link

Bug report

Current Behavior

I have an object with three-level nested object
When I change it formik values is changing but formik.dirty is not reacting except if i add/remove elements

Expected behavior

formik.dirty should react to nested objects changes

Reproducible example

https://codesandbox.io/p/sandbox/nested-schema-bug-gy44pw?file=/index.js

My environment

Software Version(s)
Formik 2.4.5
React nextjs 13.2.3
TypeScript no
Browser arc 1.27.3
npm/Yarn npm
Operating System macOS 13.5.1
@DeveloperRaj
Copy link
Contributor

I have created PR to solve this issue.

@kodiakhq kodiakhq bot closed this as completed in f57ca9b Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants