how to use component in Nette ?

21 days ago

thcom
Member | 24
+
0
-

hi, i am back in may be two years

nette is quite differet as i know in my last project

can ypo help me, how to use datetime component ?

i like this:

https://componette.com/…etimepicker/

i try as is written on autors page:

Example of using DI extension
config.neon:

extensions:
  tbDatePicker: RadekDostal\NetteComponents\DateTimePicker\TbDatePicker\DI\TbDatePickerExtension

tbDatePicker:
  format: j. n. Y

but i dont know where i should put files with this library

can ypu help me please

sorry for stupid question

TH

21 days ago

GEpic
Member | 550
+
0
-

If you want basic datepicker for inputs, you really don't need to use these. Just use some front-end library (javascript), and do simple validation on back-end. This looks like an overkill to me (and also have old dependencies. Also I think that you really don't need to make dependency on Jquery UI, which is gigantic nonsense). If you need help with lightweight datepicker for your forms, write me PM, will help you.

Last edited by GEpic (2018-09-01 18:01)