Date picker
The everyday date field: click it or its calendar button to pick a day, or type one such as Oct 14, 10/14 or tomorrow. Shown empty, with a value, disabled, and with an error. Use it for any single date that has no special rules.
Click to pick a day.
Set when the visit was closed.
Locked once the contract is signed.
Weekdays and Saturdays only.
No visits on Sundays.
Show code
<div class="basalt-datepicker" data-basalt-datepicker data-min="2026-10-08">
<div class="input-group">
<input type="text" class="form-control" id="visit" placeholder="Pick a date">
<button type="button" class="btn btn-outline-secondary basalt-datepicker-btn"
aria-label="Open calendar"><i class="bi bi-calendar3"></i></button>
</div>
<input type="hidden" name="visit" value="2026-11-20">
</div>
// basalt.js builds it; the hidden input carries 2026-11-20. Read or change it:
window.basaltDatepicker.get(el);
window.basaltDatepicker.set(el, '2026-11-27');