-
-
diff --git a/src/Squidex/app/features/schemas/pages/schema/forms/field-form-common.component.ts b/src/Squidex/app/features/schemas/pages/schema/forms/field-form-common.component.ts
index 2eca22ae0..3598c6d83 100644
--- a/src/Squidex/app/features/schemas/pages/schema/forms/field-form-common.component.ts
+++ b/src/Squidex/app/features/schemas/pages/schema/forms/field-form-common.component.ts
@@ -5,7 +5,7 @@
* Copyright (c) Squidex UG (haftungsbeschränkt). All rights reserved.
*/
-import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
+import { Component, Input } from '@angular/core';
import { FormGroup } from '@angular/forms';
import { FieldDto } from '@app/shared';
@@ -13,8 +13,7 @@ import { FieldDto } from '@app/shared';
@Component({
selector: 'sqx-field-form-common',
styleUrls: ['field-form-common.component.scss'],
- templateUrl: 'field-form-common.component.html',
- changeDetection: ChangeDetectionStrategy.OnPush
+ templateUrl: 'field-form-common.component.html'
})
export class FieldFormCommonComponent {
@Input()
diff --git a/src/Squidex/app/features/schemas/pages/schema/forms/field-form-ui.component.html b/src/Squidex/app/features/schemas/pages/schema/forms/field-form-ui.component.html
index 0dbc74d01..51058215f 100644
--- a/src/Squidex/app/features/schemas/pages/schema/forms/field-form-ui.component.html
+++ b/src/Squidex/app/features/schemas/pages/schema/forms/field-form-ui.component.html
@@ -1,29 +1,29 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
\ No newline at end of file
diff --git a/src/Squidex/app/features/schemas/pages/schema/forms/field-form-ui.component.ts b/src/Squidex/app/features/schemas/pages/schema/forms/field-form-ui.component.ts
index c1d70fc1b..806c84119 100644
--- a/src/Squidex/app/features/schemas/pages/schema/forms/field-form-ui.component.ts
+++ b/src/Squidex/app/features/schemas/pages/schema/forms/field-form-ui.component.ts
@@ -5,7 +5,7 @@
* Copyright (c) Squidex UG (haftungsbeschränkt). All rights reserved.
*/
-import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
+import { Component, Input } from '@angular/core';
import { FormGroup } from '@angular/forms';
import { FieldDto } from '@app/shared';
@@ -13,8 +13,7 @@ import { FieldDto } from '@app/shared';
@Component({
selector: 'sqx-field-form-ui',
styleUrls: ['field-form-ui.component.scss'],
- templateUrl: 'field-form-ui.component.html',
- changeDetection: ChangeDetectionStrategy.OnPush
+ templateUrl: 'field-form-ui.component.html'
})
export class FieldFormUIComponent {
@Input()
diff --git a/src/Squidex/app/features/schemas/pages/schema/forms/field-form-validation.component.html b/src/Squidex/app/features/schemas/pages/schema/forms/field-form-validation.component.html
index 1dd91c0cc..5678d98e3 100644
--- a/src/Squidex/app/features/schemas/pages/schema/forms/field-form-validation.component.html
+++ b/src/Squidex/app/features/schemas/pages/schema/forms/field-form-validation.component.html
@@ -1,29 +1,29 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
\ No newline at end of file
diff --git a/src/Squidex/app/features/schemas/pages/schema/forms/field-form-validation.component.ts b/src/Squidex/app/features/schemas/pages/schema/forms/field-form-validation.component.ts
index 7f72ab83e..9917a677d 100644
--- a/src/Squidex/app/features/schemas/pages/schema/forms/field-form-validation.component.ts
+++ b/src/Squidex/app/features/schemas/pages/schema/forms/field-form-validation.component.ts
@@ -5,7 +5,7 @@
* Copyright (c) Squidex UG (haftungsbeschränkt). All rights reserved.
*/
-import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
+import { Component, Input } from '@angular/core';
import { FormGroup } from '@angular/forms';
import {
@@ -17,8 +17,7 @@ import {
@Component({
selector: 'sqx-field-form-validation',
styleUrls: ['field-form-validation.component.scss'],
- templateUrl: 'field-form-validation.component.html',
- changeDetection: ChangeDetectionStrategy.OnPush
+ templateUrl: 'field-form-validation.component.html'
})
export class FieldFormValidationComponent {
@Input()
diff --git a/src/Squidex/app/features/schemas/pages/schema/schema-page.component.html b/src/Squidex/app/features/schemas/pages/schema/schema-page.component.html
index c9186f963..eda9217a0 100644
--- a/src/Squidex/app/features/schemas/pages/schema/schema-page.component.html
+++ b/src/Squidex/app/features/schemas/pages/schema/schema-page.component.html
@@ -60,7 +60,7 @@
-
+
diff --git a/src/Squidex/app/features/schemas/pages/schema/schema-page.component.ts b/src/Squidex/app/features/schemas/pages/schema/schema-page.component.ts
index 42fc4c753..f3f4fa1ca 100644
--- a/src/Squidex/app/features/schemas/pages/schema/schema-page.component.ts
+++ b/src/Squidex/app/features/schemas/pages/schema/schema-page.component.ts
@@ -128,10 +128,6 @@ export class SchemaPageComponent implements OnDestroy, OnInit {
this.schemaExport = result;
}
- public trackByField(index: number, field: FieldDto) {
- return field.fieldId;
- }
-
private back() {
this.router.navigate(['../'], { relativeTo: this.route });
}
diff --git a/src/Squidex/app/features/schemas/pages/schema/types/assets-ui.component.ts b/src/Squidex/app/features/schemas/pages/schema/types/assets-ui.component.ts
index b60830843..730651af6 100644
--- a/src/Squidex/app/features/schemas/pages/schema/types/assets-ui.component.ts
+++ b/src/Squidex/app/features/schemas/pages/schema/types/assets-ui.component.ts
@@ -5,21 +5,23 @@
* Copyright (c) Squidex UG (haftungsbeschränkt). All rights reserved.
*/
-import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
+import { Component, Input } from '@angular/core';
import { FormGroup } from '@angular/forms';
-import { AssetsFieldPropertiesDto } from '@app/shared';
+import { AssetsFieldPropertiesDto, FieldDto } from '@app/shared';
@Component({
selector: 'sqx-assets-ui',
styleUrls: ['assets-ui.component.scss'],
- templateUrl: 'assets-ui.component.html',
- changeDetection: ChangeDetectionStrategy.OnPush
+ templateUrl: 'assets-ui.component.html'
})
export class AssetsUIComponent {
@Input()
public editForm: FormGroup;
+ @Input()
+ public field: FieldDto;
+
@Input()
public properties: AssetsFieldPropertiesDto;
}
\ No newline at end of file
diff --git a/src/Squidex/app/features/schemas/pages/schema/types/assets-validation.component.html b/src/Squidex/app/features/schemas/pages/schema/types/assets-validation.component.html
index c9d4e39d5..27fbb2d58 100644
--- a/src/Squidex/app/features/schemas/pages/schema/types/assets-validation.component.html
+++ b/src/Squidex/app/features/schemas/pages/schema/types/assets-validation.component.html
@@ -2,8 +2,8 @@