novo-elements 6.0.0 → 6.0.3

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.
@@ -33373,8 +33373,11 @@
33373
33373
  }
33374
33374
  }
33375
33375
  this._items.next(this.items);
33376
- this.value = this.source && this.source.valueFormatter ? this.source.valueFormatter(this.items) : this.items.map(function (i) { return i.value; });
33377
- this._propagateChanges();
33376
+ var valueToSet = this.source && this.source.valueFormatter ? this.source.valueFormatter(this.items) : this.items.map(function (i) { return i.value; });
33377
+ if (Helpers.isBlank(this.value) !== Helpers.isBlank(valueToSet) || JSON.stringify(this.value) !== JSON.stringify(valueToSet)) {
33378
+ this.value = valueToSet;
33379
+ this._propagateChanges();
33380
+ }
33378
33381
  };
33379
33382
  NovoChipsElement.prototype.getLabelFromOptions = function (value) {
33380
33383
  var id = value;
@@ -38335,7 +38338,7 @@
38335
38338
  _this.id = _this._uniqueId;
38336
38339
  _this.name = _this._uniqueId;
38337
38340
  _this.placeholder = 'Select...';
38338
- _this.position = 'bottom';
38341
+ _this.position = 'above-below';
38339
38342
  _this.onSelect = new i0.EventEmitter();
38340
38343
  /** Event emitted when the selected value has been changed by the user. */
38341
38344
  _this.selectionChange = new i0.EventEmitter();