Appearance
Deprecated since 7.2
This page documents the classic module layer (CBController and cbInit()). It still works in every 7.x release, but new code should use resources and pages.
CBController
cbInit()
Use instead: DatePicker::make('starts_at')->withTime().
DatePicker::make('starts_at')->withTime()
How to migrateThe new guide
Showing datepicker and time in the input type
$this->form[] = ['label'=>'DateTime Event','name'=>'datetime','type'=>'datetime'];