code: function () {
              var select2 = this.opts.element.data("select2");
              if (select2 !== undefined) {
                  select2.container.remove();
                  select2.dropdown.remove();
                  select2.opts.element
                      .removeData("select2")
                      .unbind(".select2")
                      .show();
              }
          }
docs: abstract