I'm referring to Select2 3.5.
I want to hide the close/delete button on one of the tags so that it can't be removed.
I can prevent a specific tag from being removed via the select2-removing
event, and calling ev.preventDefault()
, however, I also want to visually indicate that it can't be removed.
Is there a way to remove the 'X' beside the tag?
Aucun commentaire:
Enregistrer un commentaire