acf-cf7
acf-cf7 copied to clipboard
Add action to the ACF append event
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.
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.