added some reusable form controls

This commit is contained in:
Jonas Winkler
2020-10-28 18:02:30 +01:00
parent 11af74ba36
commit b35e1bacd4
14 changed files with 217 additions and 1 deletions

View File

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