bs5: form input spacing, renamed controls

This commit is contained in:
Michael Shamoon
2022-02-19 22:40:27 -08:00
parent 1545ed6ab8
commit 18d6c4bf0e
8 changed files with 31 additions and 39 deletions

View File

@@ -1,5 +1,5 @@
<div class="form-group custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" [id]="inputId" [(ngModel)]="value" (change)="onChange(value)" (blur)="onTouched()" [disabled]="disabled">
<label class="custom-control-label" [for]="inputId">{{title}}</label>
<div class="mb-3 form-check">
<input type="checkbox" class="form-check-input" [id]="inputId" [(ngModel)]="value" (change)="onChange(value)" (blur)="onTouched()" [disabled]="disabled">
<label class="form-check-label" [for]="inputId">{{title}}</label>
<small *ngIf="hint" class="form-text text-muted">{{hint}}</small>
</div>