payload icon indicating copy to clipboard operation
payload copied to clipboard

fix(ui): prevents unwanted data overrides when bulk editing

Open PatrikKozak opened this issue 2 months ago • 0 comments

What?

It became possible for fields to reset to a defined defaultValue when bulk editing from the edit-many drawer.

Why?

The form-state of all fields were being considered during a bulk edit - this also meant using their initial states - this meant any fields with default values or nested fields (arrays) would be overwritten with their initial states

I.e. empty values or default values.

How?

Now - we only send through the form data of the fields specifically being edited in the edit-many drawer and ignore all other fields.

Leaving all other fields stay their current values.

Fixes #9590

PatrikKozak avatar Dec 09 '24 21:12 PatrikKozak