Skip to content

Fix DateTimePicker widget #877

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 19, 2018
Merged

Fix DateTimePicker widget #877

merged 1 commit into from
Oct 19, 2018

Conversation

yceruto
Copy link
Member

@yceruto yceruto commented Oct 19, 2018

As spotted here symfony/symfony#28723 (comment) we need to disable html5 to use a type="text" input and make it work again.

before after
wrong_datepicker correct_datepicker

@javiereguiluz javiereguiluz merged commit a556025 into symfony:master Oct 19, 2018
javiereguiluz added a commit that referenced this pull request Oct 19, 2018
This PR was merged into the master branch.

Discussion
----------

Fix DateTimePicker widget

As spotted here symfony/symfony#28723 (comment) we need to disable `html5` to use a `type="text"` input and make it work again.

| before | after |
| --- | --- |
| ![wrong_datepicker](https://user-images.githubusercontent.com/2028198/47217570-d05a9880-d376-11e8-9e3a-116769569f22.png) | ![correct_datepicker](https://user-images.githubusercontent.com/2028198/47217582-d6e91000-d376-11e8-9fb7-86384c57ebbb.png) |

Commits
-------

a556025 Fix DateTimePicker widget
@javiereguiluz
Copy link
Member

Thanks Yonel! I added a comment explaining why we need this option: e5c8d21

@yceruto yceruto deleted the fix_datetimepicker branch October 19, 2018 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants