monkey-style-guide-v2 0.0.117 → 0.0.119

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.
@@ -1371,7 +1371,7 @@ class MonkeyDisplayDirective {
1371
1371
  return String(value);
1372
1372
  }, ...(ngDevMode ? [{ debugName: "displayedText" }] : []));
1373
1373
  effect(async () => {
1374
- this.el.nativeElement.textContent = this.displayedText();
1374
+ this.el.nativeElement.innerHTML = this.displayedText();
1375
1375
  this.fallbackText = await firstValueFrom(this.i18nDictionary);
1376
1376
  });
1377
1377
  }
@@ -2461,7 +2461,7 @@ class MonkeyAutocompleteComponent {
2461
2461
  if (this.formField?.elementRef) {
2462
2462
  return this.formField?.elementRef.nativeElement.querySelector('.mecx-form-field-body');
2463
2463
  }
2464
- return this._elementRef.nativeElement;
2464
+ return this._elementRef?.nativeElement;
2465
2465
  }
2466
2466
  updateWidth() {
2467
2467
  this.initialDisplayWidth = this.elementTarget?.offsetWidth - 12;