I need to add "Add new item" option in Select2
<p>I want to add a button in first element of the list to "Add new item". If user clicks on that button I need to open a pop-up and get the input from users.
How to do this in select2 plugin? Is any default options for this (or) need to customize this?</p>