@lenne.tech/ng-base 14.25.4 → 14.25.5

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.
@@ -1904,7 +1904,10 @@ class ModelTableComponent {
1904
1904
  this.pages = [];
1905
1905
  }
1906
1906
  ngAfterViewInit() {
1907
- this.integrateCustomFormComponent();
1907
+ // Needed time out to prevent ExpressionChangedAfterItHasBeenCheckedError
1908
+ setTimeout(() => {
1909
+ this.integrateCustomFormComponent();
1910
+ }, 10);
1908
1911
  }
1909
1912
  ngOnInit() {
1910
1913
  this.graphQLMetaService.getMeta().subscribe((meta) => {
@@ -1914,7 +1917,10 @@ class ModelTableComponent {
1914
1917
  }
1915
1918
  if (this.objectId) {
1916
1919
  this.id = this.objectId;
1917
- this.integrateCustomFormComponent();
1920
+ // Needed time out for rerender
1921
+ setTimeout(() => {
1922
+ this.integrateCustomFormComponent();
1923
+ }, 10);
1918
1924
  }
1919
1925
  });
1920
1926
  }