Closed
Description
Symfony version(s) affected: 3.4.15
Description
DateTimeType error shown with form theme bootstrap_4_layout.html.twig
is buggy:
Possible Solution
Don't add form-control
class to the div which is parent of the two inputs:
Changed from
{% set attr = attr|merge({class: (attr.class|default('') ~ ' form-control is-invalid')|trim}) -%}
to
{% set attr = attr|merge({class: (attr.class|default('') ~ 'is-invalid')|trim}) -%}