Reduce Bundle Size by making select2 loading optional

What does this MR do?

Reduces the bundle size of JS by loading Select2 only on demand. This should save 145 KB (of total of 2.35MB) on parsed size of main.js.

What are the relevant issue numbers?

Closes #56988 (closed)

Does this MR meet the acceptance criteria?

Edited by Tim Zallmann

Merge request reports

Loading