You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm suggesting to allow rendering a DateTimeType in two widgets:
A single_text for date,
and a single_text for time
...by setting both date_widget and time_widget to single_text.
Right now, the documentation is misleading, cause there's no hint that you can't use single_text for both. So if nobody changes the implementation, I'm going to add a hint to the docs ;-)
Description
Follow-up of EasyCorp/EasyAdminBundle#4027
I'm suggesting to allow rendering a DateTimeType in two widgets:
single_text
for date,single_text
for time...by setting both
date_widget
andtime_widget
tosingle_text
.Right now, the documentation is misleading, cause there's no hint that you can't use
single_text
for both. So if nobody changes the implementation, I'm going to add a hint to the docs ;-)@javiereguiluz found the relevant code part:
symfony/src/Symfony/Component/Form/Extension/Core/Type/DateTimeType.php
Lines 325 to 352 in 6ef5661
The text was updated successfully, but these errors were encountered: