Avoid focusing the user field in edit mode

pull/10996/head
Oliver Günther 2 years ago
parent 472564352b
commit c0c9de7eaa
No known key found for this signature in database
GPG Key ID: A3A8BDAD7C0C552C
  1. 1
      frontend/src/app/shared/components/autocompleter/user-autocompleter/user-autocompleter.component.html
  2. 2
      frontend/src/app/shared/components/autocompleter/user-autocompleter/user-autocompleter.component.ts

@ -7,6 +7,7 @@
[labelForId]="labelForId" [labelForId]="labelForId"
[appendTo]="appendTo" [appendTo]="appendTo"
[openDirectly]="openDirectly" [openDirectly]="openDirectly"
[focusDirectly]="focusDirectly"
(change)="writeValue($event)" (change)="writeValue($event)"
(keydown.escape)="cancel.emit()" (keydown.escape)="cancel.emit()"
> >

@ -113,6 +113,8 @@ export class UserAutocompleterComponent extends UntilDestroyedMixin implements O
@Input() public openDirectly = false; @Input() public openDirectly = false;
@Input() public focusDirectly = false;
@Input('value') public _value:IUserAutocompleteItem|IUserAutocompleteItem[]|null = null; @Input('value') public _value:IUserAutocompleteItem|IUserAutocompleteItem[]|null = null;
@Input() public inviteUserToProject:string|undefined; @Input() public inviteUserToProject:string|undefined;

Loading…
Cancel
Save