@porscheinformatik/material-addons 22.1.1 → 22.1.2
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.
|
@@ -945,7 +945,10 @@ class NumericFieldDirective {
|
|
|
945
945
|
this.detachListener();
|
|
946
946
|
}
|
|
947
947
|
ngAfterViewChecked() {
|
|
948
|
-
|
|
948
|
+
// Only needed to create the unitSpan or refresh the unit
|
|
949
|
+
if (!this.unitSpan || this.unitSpan.textContent !== this.unit) {
|
|
950
|
+
this.injectUnitSymbol();
|
|
951
|
+
}
|
|
949
952
|
}
|
|
950
953
|
handleInputChanged() {
|
|
951
954
|
// Call in set timeout to avoid Expression has changed after it has been checked error.
|