summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/form-fields/edit-group.component.html
blob: 8a19abf7abdb9c497a3128b2a2a2e97c646d089c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<h1 mat-dialog-title>Edit Form Fields Group</h1>
<div class="edit-popup" mat-dialog-content>
  <p>Group Name</p>
  <mat-form-field >
    <input matInput [(ngModel)]="data['editGroupInfo'].name" disabled>
  </mat-form-field>
  <mat-form-field>
    <mat-label>Select Form Fields</mat-label>
    <mat-select  multiple [(ngModel)]="data['editGroupInfo'].formFieldList">
      <mat-option *ngFor="let item of data['formFieldsListObj']; let i = index;" value="{{item.id}}">{{item.name}}</mat-option>
    </mat-select>
  </mat-form-field>
</div>
<div class="dialog-action" mat-dialog-actions>
  <button mat-button (click)="onNoClick()">Close</button>
  <button class="update-button" mat-button [mat-dialog-close]="editGroupInfo" cdkFocusInitial>Update</button>
</div>
<style scoped>
    ::ng-deep .cdk-global-overlay-wrapper, .cdk-overlay-container {
      z-index: 1000 !important;
    }
    .edit-popup{
      height: 450px;
    }
    .update-button{
      background-color: #006496;
      color: white;
    }
    .dialog-action{
       align-items: right;
    }
</style>