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.
- package/esm2020/lib/components/form/formula-editor/formula-editor.component.mjs +3 -2
- package/esm2020/lib/components/form/input-text/input-text.component.mjs +2 -2
- package/fesm2015/myrta-ui.mjs +3 -2
- package/fesm2015/myrta-ui.mjs.map +1 -1
- package/fesm2020/myrta-ui.mjs +3 -2
- package/fesm2020/myrta-ui.mjs.map +1 -1
- package/package.json +1 -1
package/fesm2020/myrta-ui.mjs
CHANGED
|
@@ -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.
|
|
17516
|
+
this._detector.detectChanges();
|
|
17517
|
+
this._placeCaretAtEnd();
|
|
17517
17518
|
}
|
|
17518
17519
|
onClear() {
|
|
17519
17520
|
this.updateValue('');
|