Support

Account

Home Forums ACF PRO Detecting change on a Select2 field

Unread

Detecting change on a Select2 field

  • I’m trying to figure out how to detect when a selection is made from a select2 dropdown field. I’ve tried adding event listeners and mutation observers to each subfield and the option elements, but nothing seems to work. I’ve seen posts where others were able to detect changes on a normal select field, but nothing for a select2 field. Has anyone had success with this?

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.