@reviewpush/rp-treeselect 0.0.10 → 0.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -522,7 +522,6 @@ function stringifyValue(value) {
522
522
  render: function render() {
523
523
  var _this = this;
524
524
  var h = arguments[0];
525
- console.log(this);
526
525
  if (!this.instance.name || this.instance.disabled || !this.instance.hasValue) return null;
527
526
  var stringifiedValues = this.instance.internalValue.map(stringifyValue);
528
527
  if (this.instance.multiple && this.instance.joinValues) stringifiedValues = [stringifiedValues.join(this.instance.delimiter)];
@@ -2249,11 +2248,13 @@ var placeholder;
2249
2248
  methods: {
2250
2249
  setup: function setup() {
2251
2250
  var el = document.createElement('div');
2251
+ el.setAttribute('id', "menu-target-".concat(this._uid));
2252
2252
  document.body.appendChild(el);
2253
- this.portalTarget = Object(external_vue_["createApp"])(_objectSpread({
2254
- el: el,
2253
+ var targetApp = _objectSpread({
2255
2254
  parent: this
2256
- }, PortalTarget));
2255
+ }, PortalTarget);
2256
+ this.portalTarget = Object(external_vue_["createApp"])(targetApp);
2257
+ this.portalTarget.mount("#menu-target-".concat(this._uid));
2257
2258
  },
2258
2259
  teardown: function teardown() {
2259
2260
  document.body.removeChild(this.portalTarget.$el);
@@ -3692,7 +3693,7 @@ var style = __webpack_require__(15);
3692
3693
  /* harmony default export */ var src = __webpack_exports__["default"] = (Treeselect);
3693
3694
 
3694
3695
 
3695
- var VERSION = "0.0.9";
3696
+ var VERSION = "0.0.12";
3696
3697
 
3697
3698
  /***/ })
3698
3699
  /******/ ]);