Symfony admin generator datetime picker

How can I use jQuery datetime picker in symfony admin generator?

+2


a source to share


3 answers


Get sfFormExtraPlugin and load third party libraries the plugin uses (e.g. jQuery, jQuery UI). The rest should be described on the site I linked to check the "Readme" -tab and links there.



+1


a source


The admin uses symfony forms, so the easiest way is to use the datepicker widget and it will be automatically used in the generated admin. You can create a widget yourself or extract it from the sfFormExtraPlugin suggested by jitter.



0


a source


sfFormExtraPlugin does not have a datetime picker. He has a "date picker". It doesn't seem to matter, but it really is.

0


a source







All Articles