search

Home  >  Q&A  >  body text

javascript - How does select2 allow initialized options and ajax auto-completion to coexist? !

Scenes:

Select with select2 tag

The backend has 10 recommended tags by default (different recommended tags for different article content)

Operations allow you to enter keyword searches (ajax automatically completes)

Here comes the problem!

select2 After configuring ajax, the default 10 recommended options are not displayed. Has anyone solved it?

Please feel free to give me some advice!

習慣沉默習慣沉默2751 days ago555

reply all(1)I'll reply

  • PHP中文网

    PHP中文网2017-05-19 10:30:04

    The problem has been solved

    reply
    0
  • Cancelreply