"form.reset()" removes fields that do not match the predicate
Closed this issue · 1 comments
kettanaito commented
Environment
- react-advanaced-form: 1.6.2.
What
Current behavior
Similar to #333, reseting the fields deletes the ones that do not match the custom predicate.
Expected behavior
Fields that do not match the predicate are stored as-is.
Why
react-advanced-form/src/components/Form.jsx
Line 590 in 231b18e
As opposed to proper mapping with conditional transformer:
react-advanced-form/src/components/Form.jsx
Line 566 in 231b18e
kettanaito commented
Fixed. Will be released since version 1.6.3
.