Select2 Ajax Method Not Selecting

后端 未结 6 743
故里飘歌
故里飘歌 2020-12-04 13:46

Ok, I\'m sure there\'s something simple set wrong here but I\'m not 100% what it is.

So I am trying to use Select2 AJAX method as a way of users to search a database

6条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-04 14:46

    I have many problem regarding the following error Option 'ajax' is not allowed for Select2

    In my case, appears for select when you are using select2 version 3.5, So you should upgrade to version 4.0 and you won't need hidden input attached to your select

提交回复
热议问题