Destroy the existing Select2 object before rerendering the control.
Branch
------
master
Details
-------
http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=585daddce2ef6b95c927d239605fec458b11d73d
Author: Harshal Dhumal <harshal(dot)dhumal(at)enterprisedb(dot)com>
Modified Files
--------------
web/pgadmin/browser/static/js/node.ui.js | 7 ++++++-
web/pgadmin/static/js/backform.pgadmin.js | 5 ++++-
2 files changed, 10 insertions(+), 2 deletions(-)