@pumpkin-tech/pumpkin-tech-ng 0.2.57 → 0.2.58

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.
@@ -8466,6 +8466,7 @@ class PtechAutocompleteComponent extends BaseField {
8466
8466
  this.value = value;
8467
8467
  this.selectedValues = Array.isArray(value) ? [...value] : [];
8468
8468
  this.searchText = !this.multiple && value ? this.getDisplay(value) : '';
8469
+ this.cdr.markForCheck();
8469
8470
  }
8470
8471
  registerOnChange(fn) { this.onChange = fn; }
8471
8472
  registerOnTouched(fn) { this.onTouched = fn; }
@@ -8497,6 +8498,7 @@ class PtechAutocompleteComponent extends BaseField {
8497
8498
  }
8498
8499
  this.onChange(this.value);
8499
8500
  this.selectionChange.emit(this.value);
8501
+ this.cdr.markForCheck();
8500
8502
  }
8501
8503
  clear() {
8502
8504
  this.value = this.multiple ? [] : null;
@@ -8505,12 +8507,14 @@ class PtechAutocompleteComponent extends BaseField {
8505
8507
  this.filteredOptions = [];
8506
8508
  this.onChange(this.value);
8507
8509
  this.selectionChange.emit(this.value);
8510
+ this.cdr.markForCheck();
8508
8511
  }
8509
8512
  removeSelected(selected) {
8510
8513
  this.selectedValues = this.selectedValues.filter(item => !this.sameValue(item, selected));
8511
8514
  this.value = this.selectedValues;
8512
8515
  this.onChange(this.value);
8513
8516
  this.selectionChange.emit(this.value);
8517
+ this.cdr.markForCheck();
8514
8518
  }
8515
8519
  displaySelected = (value) => value ? this.getDisplay(value) : '';
8516
8520
  getDisplay(value) {