I want to set the default value of my Angular Checkbox to false (if the Checkbox is untouched). Is there a simple solution for this?
My checkbox:
<div class="notificationTitle margin-top-2">
<div class="row">
<div class="col-md-12">
<div>
<label class="text-h4 margin-top-2"
for="notifcation"></label>
<input
[formControlName]="InputField.Notification"
[name]="inputField.Notification"
id="notifcation"
type="checkbox"
>
</div>
</div>
</div>
Aucun commentaire:
Enregistrer un commentaire