Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Form] The html5 option doesn't work as expected for DateTime types #16600

Closed
@javiereguiluz

Description

@javiereguiluz

In this page: https://symfony.com/doc/4.4/reference/forms/types/date.html#html5

We say that adding ['html5' => true] is enough to display a native browser widget to pick dates.

I can't make it work. I need to use ['html5' => true, 'widget' => 'single_text'] to render those native widgets.

Am I doing something wrong or should we update the docs? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions