mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[AAE-5872] - Viewer responds as we type in the form fields. Apply the… (#7298)
* [AAE-5872] - Viewer responds as we type in the form fields. Apply the fix on start process also * Remove comments Co-authored-by: Ardit Domi <arditdomi@apl-c02g64vpmd6t.home>
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
|
||||
import {
|
||||
Component, EventEmitter, Input, OnChanges,
|
||||
Output, SimpleChanges, OnDestroy
|
||||
Output, SimpleChanges, OnDestroy, HostListener
|
||||
} from '@angular/core';
|
||||
import { Observable, of, forkJoin, Subject, Subscription } from 'rxjs';
|
||||
import { switchMap, takeUntil, map } from 'rxjs/operators';
|
||||
@@ -127,6 +127,11 @@ export class FormCloudComponent extends FormBaseComponent implements OnChanges,
|
||||
});
|
||||
}
|
||||
|
||||
@HostListener('keydown', ['$event'])
|
||||
onKeyDown(event: KeyboardEvent) {
|
||||
event.cancelBubble = true;
|
||||
}
|
||||
|
||||
ngOnChanges(changes: SimpleChanges) {
|
||||
const appName = changes['appName'];
|
||||
|
||||
|
Reference in New Issue
Block a user