Can't select item in list created by ui-select2

后端 未结 3 1707
别那么骄傲
别那么骄傲 2021-02-13 20:47

In my HTML I have this line:


3条回答
  •  太阳男子
    2021-02-13 21:05

    Please refer to Select2 Ajax Method Not Selecting,

    and take the correct value:

    id: function(data){return {id: data.id};},
    

    or

    id: function(data){return data.id}
    

提交回复
热议问题