Custom Fields
Re-Envisioned
Support Meta Box Group Clonable select_advanced with ajax Reply To: Clonable select_advanced with ajax

#8540

Anh Tran
Keymaster

Hello,

The logic should work. There is just a small typo in your code. In the response, the param should be id instead of id:.

However, loading selected posts to show after updating is the next problem. We need to update options parameter to make the field renders properly. So, I added 2 more functions to get the saved data and put them in the options:

https://pastebin.com/QNdW8cty