You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Normally, one would expect that this should have no effect, as react/state context should be immutable, but in this case you will find that it will log an object missing the deleting field.
The problem comes from the implementation of getFieldsValue here:
Repro:
Set up any basic form, and give a field an onChange like this:
Normally, one would expect that this should have no effect, as react/state context should be immutable, but in this case you will find that it will log an object missing the deleting field.
The problem comes from the implementation of getFieldsValue here:
field-form/src/useForm.ts
Lines 271 to 273 in d789287
Which just returns the store object directly.
This should be following React conventions and returning a clone, as it does when a specific list of NamePaths is requested.
The text was updated successfully, but these errors were encountered: