UNPKG

@aujsf/bootstrap-theme

Version:
23 lines (16 loc) 707 B
<template> <require from="@aujsf/bootstrap-theme/aujsf-bs-label.html"></require> <div class="form-group"> <aujsf-bs-label id.bind="id" title.bind="title" required.bind="required"> </aujsf-bs-label> <input id.bind="id" type="date" class="form-control ${hasErrors ? 'is-invalid' : value !== undefined ? 'is-valid' : ''}" disabled.bind="readonly" placeholder.bind="placeholder" value.bind="value | aujsf_value:'date'"> <small class="form-text text-muted" if.bind="description">${description}</small> <div class="invalid-feedback" repeat.for="error of errorMessages"> ${error} </div> </div> </template>