-
-
Save gavilanch/136a5d7d1dcaf8ddbe07e94f90f0c9dd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="form-group"> | |
<label for="title">Title*</label> | |
<input type="text" id="title" placeholder="Title" class="form-control" formControlName="title" /> | |
<span style="color:Red;" *ngIf="todoForm.controls['title'].touched && todoForm.controls['title'].errors?.required">Title | |
is required.</span> | |
</div> | |
<div class="form-group"> | |
<label for="description">Description*</label> | |
<textarea id="description" placeholder="Description" class="form-control" formControlName="description"></textarea> | |
<span style="color:rgb(238, 235, 235);" *ngIf="todoForm.controls['description'].touched && todoForm.controls['description'].errors?.required">Description | |
is required.</span> | |
</div> | |
<div class="form-check"> | |
<input class="form-check-input" type="checkbox" value="" id="done" formControlName="done"> | |
<label class="form-check-label" for="done"> | |
Done | |
</label> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment