Skip to content

Commit 6d41a61

Browse files
committed
[UXP-147] Fix error with controlled vocabulary field
1 parent 2409411 commit 6d41a61

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/shared/form/builder/ds-dynamic-form-ui/models/onebox/dynamic-onebox.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ export class DsDynamicOneboxComponent extends DsDynamicVocabularyComponent imple
323323
this.previousValue = result;
324324
this.cdr.detectChanges();
325325
}
326-
if (hasValue(this.currentValue.otherInformation)) {
326+
if (hasValue(this.currentValue?.otherInformation)) {
327327
const infoKeys = Object.keys(this.currentValue.otherInformation);
328328
this.setMultipleValuesForOtherInfo(infoKeys, this.currentValue);
329329
}

0 commit comments

Comments
 (0)