[frontend] Add telegram validator to welcome message
This commit is contained in:
parent
7d54375b43
commit
547e671a2d
|
@ -25,7 +25,7 @@ export class TelegramDialogComponent implements OnInit {
|
|||
ngOnInit(): void {
|
||||
this.form = this.formBuilder.group({
|
||||
api_token: ['', Validators.required],
|
||||
welcome_message: '',
|
||||
welcome_message: ['', Validators.required],
|
||||
});
|
||||
|
||||
if (this.data.telegramId) {
|
||||
|
|
Loading…
Reference in a new issue