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
I suspect this is by design but swapping rows moves values but keeps initialValues.
Change handlers get fired for moved rows and meta.dirty is set. Is there a way to avoid it it? From my point of view array is now dirty, but individual values should be kept clean.
I pondered writing a mutator that swaps/moves initialValues but it seems awkward especially if you want to move newly created rows, that have undefined initialValues.
The text was updated successfully, but these errors were encountered:
I suspect this is by design but swapping rows moves
values
but keepsinitialValues
.Change handlers get fired for moved rows and
meta.dirty
is set. Is there a way to avoid it it? From my point of view array is now dirty, but individual values should be kept clean.I pondered writing a mutator that swaps/moves initialValues but it seems awkward especially if you want to move newly created rows, that have undefined initialValues.
The text was updated successfully, but these errors were encountered: