Vegas CMF Form Elements


Simple input with bootstrap-datetimepicker. By default, time will be saved as string with HH:mm format.

All required js and css files are included in vegas library. Check installation guide for more details.


namespace Foo\Forms;

use Vegas\Forms\Element\Timepicker;

class Bar extends \Vegas\Forms\Form
    public function initialize()
        $time = new Timepicker('time');

        // ...