Hi everybody !
I am working the first time with select2.
I have a simple example which works right now:
<select class="phoneNumbers">
<option value="1234">1234</option>
<option value="5678">5678</option>
</select>
$('.phoneNumbers').select2({
tags: true
});
But now I would like to realize:
Each option should has a “delete icon”. If I click on it, this option element should be deleted from list.
I can’t found anything about this in the api documentation. Any idea?