RED-6960 - enter should confirm modal if it is changed or if it is not in edit mode
This commit is contained in:
parent
59f2dde9ec
commit
7b29cc5f31
@ -92,7 +92,7 @@ export abstract class BaseDialogComponent implements AfterViewInit, OnDestroy {
|
||||
if (
|
||||
this.valid &&
|
||||
!this.disabled &&
|
||||
this.changed &&
|
||||
(this.changed || !this._isInEditMode) &&
|
||||
this.#dialog.openDialogs.length === 1 &&
|
||||
(isDialogSelected || isTextInputSelected)
|
||||
) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user