Solved using attr and tested on Select2 4.0.6-rc.0. $(".class").select2({ templateResult: formatState, templateSelection: formatState }); ...
確定! 回上一頁