Thanks, @justin_shapiro for the reply, I tried to use regular features of select2, but I am getting below errors, how to upgrade select2 library version in confluence add-ons? how to call multiple REST APIs (like users, groups and spaces etc…,) for populating options for select2?
Uncaught Error: Option ‘multiple’ is not allowed for Select2 when attached to a element.
Uncaught Error: Option ‘ajax’ is not allowed for Select2 when attached to a element.