Faruk, he probably had a `select` HTML element. Then he added an `option` element with the values he desired. Last, he called $('select').select2(...) which is supposed to select the only available option by default. Just my guess.
Pizza Catering Sydney mobile wood-fired setup keeps events running smoothly and deliciously, much like how Select2’s data adapter is meant to streamline complex input handling. Just as the pizza team brings fresh ingredients on-demand, your old 3.5.2 workflow pulled dynamic data via AJAX based on the selected value. Migrating to Select2 4.0 simply means adapting that same “load-as-needed” logic into the updated data adapter structure so everything still arrives hot and ready.