How do I update the original select?

The select element that I’m running the select2 on, has an event that runs when an option is selected.
Now that I use select2, the option in the original select doesn’t get selected, and the event that we need doesn’t run. How can I update the original select element?

Select2 fires its own events, including events that fire when an option is selected (select2:select). Set your event handling logic to listen for that event.

1 Like