Spaces:
Paused
Paused
Update flare-ui/src/app/dialogs/intent-edit-dialog/intent-edit-dialog.component.ts
Browse files
flare-ui/src/app/dialogs/intent-edit-dialog/intent-edit-dialog.component.ts
CHANGED
|
@@ -65,7 +65,7 @@ export default class IntentEditDialogComponent implements OnInit {
|
|
| 65 |
initializeForm() {
|
| 66 |
this.form = this.fb.group({
|
| 67 |
name: ['', [Validators.required, Validators.pattern(/^[a-zA-Z0-9-]+$/)]],
|
| 68 |
-
caption: [''],
|
| 69 |
locale: ['tr-TR'],
|
| 70 |
detection_prompt: ['', Validators.required],
|
| 71 |
examples: this.fb.array([]),
|
|
|
|
| 65 |
initializeForm() {
|
| 66 |
this.form = this.fb.group({
|
| 67 |
name: ['', [Validators.required, Validators.pattern(/^[a-zA-Z0-9-]+$/)]],
|
| 68 |
+
caption: ['', Validators.required],
|
| 69 |
locale: ['tr-TR'],
|
| 70 |
detection_prompt: ['', Validators.required],
|
| 71 |
examples: this.fb.array([]),
|