Skip to content

Add HTML5 input type color in Form Component  #22596

Closed
@sblondeau

Description

@sblondeau
Q A
Bug report? no
Feature request? yes
BC Break report? no
RFC? no
Symfony version 3.3

Hi
The HTML5 input type "color" does not exist on Symfony Form component. https://symfony.com/doc/current/forms.html#text-fields

However, this form type works well is most of modern browsers like Firefox or Chrome. http://caniuse.com/#feat=input-color

It would be very interesting to add it with an automatic validation of hexadecimal color format.
Thanks !

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