-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Form] deprecate custom formats with HTML5 widgets #28723
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
[Form] deprecate custom formats with HTML5 widgets #28723
Conversation
xabbuh
commented
Oct 4, 2018
•
edited
Loading
edited
Q | A |
---|---|
Branch? | master |
Bug fix? | no |
New feature? | no |
BC breaks? | no |
Deprecations? | yes |
Tests pass? | yes |
Fixed tickets | |
License | MIT |
Doc PR | symfony/symfony-docs#10986 |
ecd04af
to
055dc6c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why would it make Symfony better? I mean, yes, html5 is a standard, but why should we stricter than required actually? What's the benefit? I don't feel like this would make anything easier to maintain, nor easier to work with.
7b388e6
to
f973630
Compare
e547eb7
to
7ffad2b
Compare
The thing is that custom formats do not work with |
src/Symfony/Component/Form/Extension/Core/Type/DateTimeType.php
Outdated
Show resolved
Hide resolved
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 | | --- | --- | |  |  | Commits ------- a556025 Fix DateTimePicker widget
makes sense! |
80a13ad
to
3971ecd
Compare
b6ccdd6
to
bfe80ac
Compare
src/Symfony/Component/Form/Extension/Core/Type/DateTimeType.php
Outdated
Show resolved
Hide resolved
bfe80ac
to
ebb2d7c
Compare
804a04d
to
ea3143e
Compare
ea3143e
to
01f65f4
Compare
01f65f4
to
0823d38
Compare
0823d38
to
c07d638
Compare
c07d638
to
b70c1b6
Compare
…bbuh) This PR was merged into the 4.3-dev branch. Discussion ---------- [Form] deprecate custom formats with HTML5 widgets | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | yes | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | symfony/symfony-docs#10986 Commits ------- b70c1b6 deprecate custom formats with HTML5 widgets
This PR was merged into the master branch. Discussion ---------- format option deprecation for HTML 5 widgets document the deprecations that will be introduced with symfony/symfony#28723 Commits ------- f4597bf format option deprecation for HTML 5 widgets
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 | | --- | --- | |  |  | Commits ------- a556025 Fix DateTimePicker widget
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 | | --- | --- | |  |  | Commits ------- a556025 Fix DateTimePicker widget