defect #7325 fix
*Fix on enterkey pressed form submission issue in dmp editor
This commit is contained in:
parent
814a9b2fee
commit
4c2e17e987
|
@ -1,6 +1,6 @@
|
|||
<div class="main-content">
|
||||
<div class="container-fluid">
|
||||
<form *ngIf="formGroup" [formGroup]="formGroup" (ngSubmit)="formSubmit()">
|
||||
<div *ngIf="formGroup" [formGroup]="formGroup" class="form-container">
|
||||
<!-- DMP Header -->
|
||||
<div [hidden]="this.step >= stepsBeforeDatasets" class="fixed-editor-header">
|
||||
<div class="card editor-header">
|
||||
|
@ -18,7 +18,7 @@
|
|||
<div>{{'DMP-EDITOR.ACTIONS.SAVE' | translate}}</div>
|
||||
</div>
|
||||
<div *ngIf="!isNew && formGroup.enabled && !lockStatus">
|
||||
<button *ngIf="!isFinalized" mat-raised-button type="submit" class="save-btn">
|
||||
<button *ngIf="!isFinalized" mat-raised-button (click)="formSubmit()" class="save-btn">
|
||||
{{'DMP-EDITOR.ACTIONS.SAVE' | translate}}
|
||||
</button>
|
||||
</div>
|
||||
|
@ -93,7 +93,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
form {
|
||||
.form-container {
|
||||
height: calc(100vh - 124px);
|
||||
margin-top: 6rem;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue