ciyidogan commited on
Commit
2678346
·
verified ·
1 Parent(s): ba21972

Update flare-ui/src/app/dialogs/api-edit-dialog/api-edit-dialog.component.html

Browse files
flare-ui/src/app/dialogs/api-edit-dialog/api-edit-dialog.component.html CHANGED
@@ -127,7 +127,7 @@
127
  <input matInput formControlName="variable_name" placeholder="departure_time">
128
  <mat-hint>snake_case only</mat-hint>
129
  </mat-form-field>
130
-
131
  <mat-form-field appearance="outline">
132
  <mat-label>Type</mat-label>
133
  <mat-select formControlName="type">
@@ -136,13 +136,19 @@
136
  </mat-option>
137
  </mat-select>
138
  </mat-form-field>
139
-
140
  <mat-form-field appearance="outline" class="json-path-field">
141
  <mat-label>JSON Path</mat-label>
142
  <input matInput formControlName="json_path" placeholder="FlightInfo.Details.DepartureTime">
143
  <mat-hint>Use dot notation for nested values</mat-hint>
144
  </mat-form-field>
145
-
 
 
 
 
 
 
146
  <button mat-icon-button color="warn" type="button" (click)="removeResponseMapping(i)">
147
  <mat-icon>delete</mat-icon>
148
  </button>
 
127
  <input matInput formControlName="variable_name" placeholder="departure_time">
128
  <mat-hint>snake_case only</mat-hint>
129
  </mat-form-field>
130
+
131
  <mat-form-field appearance="outline">
132
  <mat-label>Type</mat-label>
133
  <mat-select formControlName="type">
 
136
  </mat-option>
137
  </mat-select>
138
  </mat-form-field>
139
+
140
  <mat-form-field appearance="outline" class="json-path-field">
141
  <mat-label>JSON Path</mat-label>
142
  <input matInput formControlName="json_path" placeholder="FlightInfo.Details.DepartureTime">
143
  <mat-hint>Use dot notation for nested values</mat-hint>
144
  </mat-form-field>
145
+
146
+ <mat-form-field appearance="outline">
147
+ <mat-label>Caption</mat-label>
148
+ <input matInput formControlName="caption" placeholder="Kalkış Saati">
149
+ <mat-hint>Human-readable label</mat-hint>
150
+ </mat-form-field>
151
+
152
  <button mat-icon-button color="warn" type="button" (click)="removeResponseMapping(i)">
153
  <mat-icon>delete</mat-icon>
154
  </button>