Skip to content

Commit a83b128

Browse files
committed
Add JsonFormsAbstractControl to exported classes
The JsonFormsAbstractControl was not exported by the angular package. This lead to duplicate instances of the angular package when using the ArrayLayoutRenderer and thus to the ArrayLayoutRenderer not working. By not using a deep import in the ArrayLayoutRenderer only one instance of the angular package exists. Fix #1781
1 parent 96e2c41 commit a83b128

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/angular-material/src/layouts/array-layout.renderer.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ import {
2828
OnDestroy,
2929
OnInit
3030
} from '@angular/core';
31-
import { JsonFormsAngularService } from '@jsonforms/angular';
32-
import { JsonFormsAbstractControl } from '@jsonforms/angular/lib/abstract-control';
31+
import { JsonFormsAngularService, JsonFormsAbstractControl } from '@jsonforms/angular';
3332
import {
3433
ArrayLayoutProps,
3534
createDefaultValue,

packages/angular/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,4 @@ export * from './jsonforms.module';
3030
export * from './unknown.component';
3131
export * from './jsonforms.service';
3232
export * from './jsonforms-root.component';
33+
export * from './abstract-control';

0 commit comments

Comments
 (0)