mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-01-28 07:58:03 +01:00
added some reusable form controls
This commit is contained in:
parent
11af74ba36
commit
b35e1bacd4
14 changed files with 217 additions and 1 deletions
|
|
@ -0,0 +1,5 @@
|
|||
<div class="form-group 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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue