Skip to content

Commit

Permalink
Add JsonFormsAbstractControl to exported classes
Browse files Browse the repository at this point in the history
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
  • Loading branch information
eneufeld committed Jul 13, 2021
1 parent 96e2c41 commit a83b128
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ import {
OnDestroy,
OnInit
} from '@angular/core';
import { JsonFormsAngularService } from '@jsonforms/angular';
import { JsonFormsAbstractControl } from '@jsonforms/angular/lib/abstract-control';
import { JsonFormsAngularService, JsonFormsAbstractControl } from '@jsonforms/angular';
import {
ArrayLayoutProps,
createDefaultValue,
Expand Down
1 change: 1 addition & 0 deletions packages/angular/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@ export * from './jsonforms.module';
export * from './unknown.component';
export * from './jsonforms.service';
export * from './jsonforms-root.component';
export * from './abstract-control';

0 comments on commit a83b128

Please sign in to comment.