From 8a331a3eb71e1446ff3b46d13c450a027cb05f7e Mon Sep 17 00:00:00 2001 From: Damyan Petev Date: Mon, 14 Jul 2025 13:58:33 +0300 Subject: [PATCH] fix(elements): bridged template track uuid use util with fallback --- .../src/app/wrapper/template-ref-wrapper.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/projects/igniteui-angular-elements/src/app/wrapper/template-ref-wrapper.ts b/projects/igniteui-angular-elements/src/app/wrapper/template-ref-wrapper.ts index 8fe2c5c7043..9c5095efcf2 100644 --- a/projects/igniteui-angular-elements/src/app/wrapper/template-ref-wrapper.ts +++ b/projects/igniteui-angular-elements/src/app/wrapper/template-ref-wrapper.ts @@ -1,4 +1,5 @@ import { ElementRef, EmbeddedViewRef, Injector, TemplateRef } from '@angular/core'; +import { getUUID } from '../../../../igniteui-angular/src/lib/grids/common/random'; const CONTEXT_PROP = 'context'; const IMPLICIT_PROP = 'implicit'; @@ -70,7 +71,7 @@ export class TemplateRefWrapper extends TemplateRef { root = viewRef.rootNodes[0]; contentContext = new TemplateRefWrapperContentContext(); - contentId = crypto.randomUUID(); + contentId = getUUID(); contentContext._id = contentId; root._id = contentId; contentContext.root = root;