mcguffin/acf-quickedit-fields

Add new values to existing ones

Closed this issue · 6 comments

I’d love to be able to add new values to a field with existing values (in my case a Checkbox type). Currently as far as I can see ACF Quick Edit replaces any existing values. Is this possible or would it need to be a new feature?

This would be a great feature to have. especially with the post object field

@rogerpz81 I think you are refering to a bug I eventually fixed today, right?
Custom Checkbox and radio values did not show up in quickedit.

@jesserosenfield Would you mind to elaborate what kind of feature you're having in mind? Please open a new issue, I'm going to close this one soon, as I believe it's about buggy custom values in radio and checkboxes.

@mcguffin

If I bulk edit posts and enter posts into this custom field– will it add/append the values I enter here? Or will it replace them on each post? I would like to add/append values using the bulk edit feature.

image

@jesserosenfield Okay, I got it now!
After thinking it through, I decided to take this a step further and develop a whole new feature set for bulk operations – appending suffixes to text, do algebra on numbers, ...
Here's a preview for the URL field:
grafik

Coming soon in 3.4.0.
There will be Union (what you asked for), Intersection and difference for post object and other multi-select fields.
Thanks for the inspiration!

@jesserosenfield You're welcome!
If you like, I could use some help with the wording.

These are the available bulk operations so far.
Anything that can be improved?

Checkbox, select, user, post object, taxonomy:
grafik
(I first had Union, Difference, Intersection but then thought merge, remove, overlap is closer to every-day language)

Text, textarea:
grafik

Number:
grafik

URL:
grafik

Also testing of the new feaures is always highly appreciated:
EDIT: f706186 The current master branch should be a working version including the latest changes.