monkey-style-guide-v2 0.0.118 → 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.
@@ -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;