Spaces:
Paused
Paused
Update flare-ui/src/app/dialogs/intent-edit-dialog/intent-edit-dialog.component.html
Browse files
flare-ui/src/app/dialogs/intent-edit-dialog/intent-edit-dialog.component.html
CHANGED
|
@@ -19,9 +19,10 @@
|
|
| 19 |
</mat-form-field>
|
| 20 |
|
| 21 |
<mat-form-field appearance="outline" class="full-width">
|
| 22 |
-
<mat-label>Caption
|
| 23 |
<input matInput formControlName="caption"
|
| 24 |
placeholder="e.g., Flight Booking Intent">
|
|
|
|
| 25 |
</mat-form-field>
|
| 26 |
|
| 27 |
<mat-form-field appearance="outline">
|
|
|
|
| 19 |
</mat-form-field>
|
| 20 |
|
| 21 |
<mat-form-field appearance="outline" class="full-width">
|
| 22 |
+
<mat-label>Caption*</mat-label>
|
| 23 |
<input matInput formControlName="caption"
|
| 24 |
placeholder="e.g., Flight Booking Intent">
|
| 25 |
+
<mat-error *ngIf="form.get('caption')?.hasError('required')">Caption is required</mat-error>
|
| 26 |
</mat-form-field>
|
| 27 |
|
| 28 |
<mat-form-field appearance="outline">
|