Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 1.49 KB

readme.md

File metadata and controls

46 lines (31 loc) · 1.49 KB

DateTimePicker for Nette Framework

DatePicker and DateTimePicker input controls for Nette Framework

This add-on creates input box to select date or date and time.

Requirements

GNU Lesser General Public License

LGPL licenses are very very long, so instead of including them here we offer you URLs with full text:

Example of using DI extension

config.neon:

extensions:
  tbDatePicker: RadekDostal\NetteComponents\DateTimePicker\TbDatePicker\DI\TbDatePickerExtension
 
tbDatePicker:
  format: j. n. Y

Form:

$form->addTbDatePicker('date', 'Date')
  ->setNullable()
  ->addRule(self::Range, NULL, [new \DateTime('2016-09-01'), new \DateTime('2016-09-15')]);

Learn more in examples.