- PHP 5.3+
- nette/nette >= 2.1
- Copy source codes from Github or using Composer:
$ composer require dotblue/nette-calendarpicker@~1.0
- Register as Configurator's extension:
extensions:
calendarPicker: DotBlue\Nette\Forms\CalendarPickerExtension
And you're good to go :).
You can use new method addCalendarPicker()
:
$form->addCalendarPicker('date_created', 'Date of creation:');