mirror of
https://github.com/bitwarden/web
synced 2025-12-06 00:03:28 +00:00
* Break form controls up into reusable components * Add proper form styling, validation, inline error messages, etc * Move control options into class instead of template * Add accessibility
17 lines
481 B
HTML
17 lines
481 B
HTML
<div class="form-group">
|
|
<div class="form-check">
|
|
<input
|
|
class="form-check-input"
|
|
type="checkbox"
|
|
[attr.id]="controlId"
|
|
[attr.aria-describedby]="describedById"
|
|
[formControl]="internalControl"
|
|
(blur)="onBlurInternal()"
|
|
/>
|
|
<label class="form-check-label" [attr.for]="controlId">{{ label }}</label>
|
|
</div>
|
|
<small *ngIf="showDescribedBy" [attr.id]="describedById" class="form-text text-muted">{{
|
|
helperText
|
|
}}</small>
|
|
</div>
|