Skip to content

"number" input type maps to "text" input type #8106

Closed
@tbriles

Description

@tbriles

There is even a comment in src/Symfony/Bridge/Twig/Resources/views/Form/form_div_layout.html.twig stating:

"{# type="number" doesn't work with floats #}",

which isn't true. I'd recommend setting step="any" as a default.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions