Option to Merge or Replace hasMany Field Values During Bulk Edit #13221
vqhdev
started this conversation in
Feature Requests & Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello PayloadCMS team and community,
Currently, when selecting multiple items and editing a field with
hasMany: true
, it directly replaces the existing values with the new ones. I would like to request an option — such as a checkbox — to choose whether to fully replace the existing values or merge the new values with the existing ones. This behavior is demonstrated in the video I’ve created.Source code: test-bulk-edit.zip
Run:
pnpm i
pnpm payload migrate
pnpm dev
Video: Watch here
Beta Was this translation helpful? Give feedback.
All reactions