From e564c42a0e16c61420512601665278d92d8a7124 Mon Sep 17 00:00:00 2001 From: alokhyland Date: Wed, 14 Feb 2024 13:04:44 +0530 Subject: [PATCH] ELEMENTS-1713: Fix nuxeo-directory-radio-group in Edit mode --- ui/widgets/nuxeo-directory-radio-group.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ui/widgets/nuxeo-directory-radio-group.js b/ui/widgets/nuxeo-directory-radio-group.js index 50e6b6c94..9ab1d7d36 100644 --- a/ui/widgets/nuxeo-directory-radio-group.js +++ b/ui/widgets/nuxeo-directory-radio-group.js @@ -140,7 +140,9 @@ import { DirectoryWidgetBehavior } from './nuxeo-directory-widget-behavior.js'; if (this.value && this.value.length > 0 && this.value !== this._selected) { this._selected = this.value; } - this._entries.forEach((entry) => this._isChecked(entry)); + if (this._entries) { + this._entries.forEach((entry) => this._isChecked(entry)); + } } /* Override method from Polymer.IronValidatableBehavior. */