Maybe using new datepicker

This commit is contained in:
2023-09-27 09:03:16 -07:00
parent 160c289f03
commit c5c752417b
5 changed files with 50 additions and 39 deletions

View File

@@ -16,3 +16,7 @@ htmx.defineExtension('disable-submit', {
*/
}
})
initDatepicker = function(elem) {
elem.dp = new Datepicker(elem, {format: "mm/dd/yyyy", autohide: true});
}