@aujsf/bootstrap-theme
Version:
Bootstrap 4 Theme for @aujsf/core
25 lines (18 loc) • 713 B
HTML
<template>
<require from="@aujsf/bootstrap-theme/aujsf-bs-label.html"></require>
<div class="form-group form-check">
<input type="checkbox" class="form-check-input ${hasErrors && 'is-invalid'}"
disabled.bind="readonly"
checked.bind="value"
id.bind="id">
<aujsf-bs-label class="form-check-label"
id.bind="id"
title.bind="title"
required.bind="required">
</aujsf-bs-label>
<small class="form-text text-muted" if.bind="description">${description}</small>
<div class="invalid-feedback" repeat.for="error of errorMessages">
${error}
</div>
</div>
</template>