acf-cf7 icon indicating copy to clipboard operation
acf-cf7 copied to clipboard

Add action to the ACF append event

Open treestones opened this issue 6 years ago • 1 comments

When appending fields with ACF the select box is not loaded properly. To fix this issue I propose to add an event listener for the ACF append event. When this event is fired it first removes the existing select box wrapper in the new element and then initialize the select2 plugin for all select boxes.

treestones avatar May 01 '18 06:05 treestones

Hey @taylormsj, thanks for the great plugin!

What's the status of this PR? I'd be happy to help out if you'd like any changes to this PR. It would be great if we could get this fixed :)

As is, my client needs to add a CF7 field, save, reload the page, and then select their form before saving again.

Paul-Hebert avatar Nov 01 '19 17:11 Paul-Hebert