diff --git a/src/js/select2/utils.js b/src/js/select2/utils.js
index 53d82f3d..4c96034a 100644
--- a/src/js/select2/utils.js
+++ b/src/js/select2/utils.js
@@ -332,6 +332,8 @@ define([
if (Utils.__cache[id] != null) {
delete Utils.__cache[id];
}
+
+ element.removeAttribute('data-select2-id');
};
return Utils;
diff --git a/tests/unit-jq1.html b/tests/unit-jq1.html
index 730b35db..1ef049c8 100644
--- a/tests/unit-jq1.html
+++ b/tests/unit-jq1.html
@@ -94,6 +94,7 @@
+