diff --git a/web/pgadmin/browser/static/js/node.ui.js b/web/pgadmin/browser/static/js/node.ui.js
index de30e489b..8bf71dce3 100644
--- a/web/pgadmin/browser/static/js/node.ui.js
+++ b/web/pgadmin/browser/static/js/node.ui.js
@@ -142,6 +142,11 @@ function($, _, pgAdmin, Backbone, Backform, Alertify, Node) {
}
},
render: function() {
+
+ if(this.$sel && this.$sel.select2) {
+ this.$sel.select2('destroy')
+ }
+
/*
* Let SelectControl render it, we will do our magic on the
* select control in it.
@@ -167,7 +172,7 @@ function($, _, pgAdmin, Backbone, Backform, Alertify, Node) {
* Add empty option as Select2 requires any empty ''));
- $select.select2(select2Opts);
+ this.$sel = $select.select2(select2Opts);
return this;
}