diff --git a/packages/angular-material/src/layouts/layout.renderer.ts b/packages/angular-material/src/layouts/layout.renderer.ts index dcb373f79..ae18bc4a4 100644 --- a/packages/angular-material/src/layouts/layout.renderer.ts +++ b/packages/angular-material/src/layouts/layout.renderer.ts @@ -30,7 +30,8 @@ import { Layout, mapStateToLayoutProps, OwnPropsOfRenderer, - UISchemaElement } from '@jsonforms/core'; + UISchemaElement +} from '@jsonforms/core'; import { Subscription } from 'rxjs'; export class LayoutRenderer @@ -67,7 +68,7 @@ export class LayoutRenderer return elements; } - trackElement(_index: number, renderProp: OwnPropsOfRenderer) { + trackElement(_index: number, renderProp: OwnPropsOfRenderer): string { return renderProp ? renderProp.path + JSON.stringify(renderProp.uischema) : null; - } + } }