[frontend] Fix missing error on telegram welcome message

This commit is contained in:
Cathy Hu 2020-09-11 17:22:26 +02:00
parent 8a7a088038
commit 10cec2ac6d

View file

@ -16,6 +16,13 @@
<mat-form-field>
<mat-label>Welcome message</mat-label>
<textarea matInput formControlName="welcome_message"></textarea>
<mat-error
*ngIf="
form.controls.welcome_message.errors &&
form.controls.welcome_message.errors.required
"
>Welcome message is required</mat-error
>
</mat-form-field>
</form>
</mat-dialog-content>