Skip to content

Commit 8cc7f50

Browse files
committed
minor symfony#8047 Jquery datePicker syntax update (bart0356, javiereguiluz)
This PR was submitted for the 3.3 branch but it was merged into the 2.7 branch instead (closes symfony#8047). Discussion ---------- Jquery datePicker syntax update http://api.jqueryui.com/datepicker/#option-dateFormat Commits ------- 882ca41 Fixed the issue in a different way b8c9068 Jquery datePicker syntax update
2 parents f735a2b + 882ca41 commit 8cc7f50

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

reference/forms/types/date.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,8 @@ make the following changes::
9292
'attr' => ['class' => 'js-datepicker'],
9393
));
9494

95-
Assuming you're using jQuery, you can initialize the date picker via:
95+
Then, add the following JavaScript code in your template to initialize the date
96+
picker:
9697

9798
.. code-block:: html
9899

0 commit comments

Comments
 (0)