mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-10-16 21:08:12 +00:00
Fix: prevent focus error on custom field edit when switching from select
This commit is contained in:
1 parent
544e9c4fe2
commit
a4b8bf1250
1 file changed
+1
-1
+1
-1
@@ -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()
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user