Always read the reference/manual first! From the official select2 examples on their web site; function formatState (state) { if (!state.id) ...
確定! 回上一頁