Skip to content
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.

Commit

Permalink
Enable datetimepicker
Browse files Browse the repository at this point in the history
  • Loading branch information
Bjorn committed Sep 19, 2017
1 parent 80f91a6 commit ba9817b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Form/Type/DatePickerType.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ public function buildForm(FormBuilderInterface $builder, array $options)
'data' => $currentDate,
'widget' => 'single_text',
'required' => false,
'datetimepicker' => true,
'label' => 'datePicker.datetime.example',
)
)
Expand Down
1 change: 1 addition & 0 deletions Resources/views/Tutorial/datePicker.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@
'data' => $currentDate,
'widget' => 'single_text',
'required' => false,
'datetimepicker' => true,
</code></pre>
</div>
</div>
Expand Down

0 comments on commit ba9817b

Please sign in to comment.