Select2 dropdown not syncing properly with editor workflow export

Hi everyone,

I’m using Select2 for a dynamic dropdown that feeds selected media into capcut app download workflow.

The UI updates fine, but the problem is:

  • Select2 shows correct updated options
  • But CapCut still receives old/extra selections
  • State seems out of sync after dynamic refresh

Re-initializing Select2 helps temporarily, but the issue keeps coming back.

Question:

What’s the proper way to fully sync Select2 state before passing data into CapCut? Is this a caching/state issue or do I need a full rebuild each time?