myrta-ui 1.1.34 → 1.1.35

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.
@@ -5492,7 +5492,7 @@ class InputTextComponent {
5492
5492
  return this.maxlength > this.value?.length;
5493
5493
  }
5494
5494
  formatValue(value) {
5495
- return value.length === this.maskPrefix.length ? '' : value;
5495
+ return value ? value.length === this.maskPrefix.length ? '' : value : '';
5496
5496
  }
5497
5497
  insertPositionText(tagText) {
5498
5498
  if (this.selectionStart && this.selectionEnd) {
@@ -17513,7 +17513,8 @@ class FormulaEditorComponent {
17513
17513
  }
17514
17514
  onFocus(event) {
17515
17515
  this.isFocused = true;
17516
- this._detector.markForCheck();
17516
+ this._detector.detectChanges();
17517
+ this._placeCaretAtEnd();
17517
17518
  }
17518
17519
  onClear() {
17519
17520
  this.updateValue('');