diff --git a/src-ui/src/app/components/common/edit-dialog/custom-field-edit-dialog/custom-field-edit-dialog.component.ts b/src-ui/src/app/components/common/edit-dialog/custom-field-edit-dialog/custom-field-edit-dialog.component.ts index 48e5e53bb..b27ec9fcd 100644 --- a/src-ui/src/app/components/common/edit-dialog/custom-field-edit-dialog/custom-field-edit-dialog.component.ts +++ b/src-ui/src/app/components/common/edit-dialog/custom-field-edit-dialog/custom-field-edit-dialog.component.ts @@ -67,7 +67,7 @@ export class CustomFieldEditDialogComponent this.selectOptionInputs.changes .pipe(takeUntil(this.unsubscribeNotifier)) .subscribe(() => { - this.selectOptionInputs.last.nativeElement.focus() + this.selectOptionInputs.last?.nativeElement.focus() }) }