preload:
- true: the dropdown list will be loaded immediately and won't change based on your input. (the option
ajaxof select2 needed.) - false: this option won't change anything.
- function: the returned value of function will be loaded if your input length is less than
minimumInputLength. (the optionajax&minimumInputLengthof select2 needed.)