onshore-forms 0.0.47 → 0.0.48
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.
|
@@ -401,6 +401,9 @@ class OnshoreFormItemContainer {
|
|
|
401
401
|
this.disabled = true;
|
|
402
402
|
}
|
|
403
403
|
this.layout = this.formTemplate.layout;
|
|
404
|
+
setTimeout(() => {
|
|
405
|
+
this.cdr.markForCheck();
|
|
406
|
+
}, 100);
|
|
404
407
|
}
|
|
405
408
|
ngAfterViewInit() {
|
|
406
409
|
this.onWindowResize();
|
|
@@ -427,6 +430,9 @@ class OnshoreFormItemContainer {
|
|
|
427
430
|
this.layout = this.formTemplate.layout;
|
|
428
431
|
this.onWindowResize();
|
|
429
432
|
}
|
|
433
|
+
if (previousValue?.labelStyle !== currentValue?.labelStyle) {
|
|
434
|
+
this.onWindowResize();
|
|
435
|
+
}
|
|
430
436
|
this.cdr.markForCheck();
|
|
431
437
|
}
|
|
432
438
|
}
|