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">
<label [for]="inputId">{{title}}</label>
<div class="mb-3">
<label class="form-label" [for]="inputId">{{title}}</label>
<input #inputField type="text" class="form-control" [class.is-invalid]="error" [id]="inputId" [(ngModel)]="value" (change)="onChange(value)">
<small *ngIf="hint" class="form-text text-muted">{{hint}}</small>
<div class="invalid-feedback">