I have autocomplete field with values getting from remote source using ajax. If I select same value twice, both values get removed. Same behavior observed in example provided in Select2 site,
https://select2.org/tagging#tagging-with-multi-value-select-boxes. If I select orange two times, both get removed. How can I retain one value ?