At
|
$GLOBALS['TL_JAVASCRIPT'][] = 'assets/datepicker/js/datepicker.min.js'; |
the picker class is load on head and jquery ist load on body at Controller-Class
https://github.com/contao/core-bundle/blob/f46d52802705676ab07d5a362ba3dfe4c235893b/src/Resources/contao/library/Contao/Controller.php#L857
I think it would be better if you could choose whether you can also use the html5 tag for date.