-
Notifications
You must be signed in to change notification settings - Fork 89
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
feat(manager): initialize + keepDirtyOnReinitialize #720
Conversation
rvsia
commented
Aug 17, 2020
- part of [manager] Add all necessary form options used in renderer and mappers #705 & [V4] Add all needed props #690
Codecov Report
@@ Coverage Diff @@
## state-manager #720 +/- ##
=================================================
+ Coverage 93.13% 93.18% +0.04%
=================================================
Files 220 220
Lines 3613 3639 +26
Branches 1138 1145 +7
=================================================
+ Hits 3365 3391 +26
Misses 248 248
Continue to review full report at Codecov.
|
|
||
managerApi().initialize({ foo: { bar: 'foobar' } }); | ||
|
||
expect(managerApi().pristine).toEqual(true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a check that the field.meta.prisinte/dirty/touched/visited were reset as well?
🎉 This PR is included in version 3.1.0 🎉 The release is available on Demo can be found here! |