Skip to content

[Form] UrlType should be text when default_protocol is set #29690

Closed
@MatTheCat

Description

@MatTheCat

Symfony version(s) affected: all

Description

https://html.spec.whatwg.org/multipage/input.html#url-state-(type=url)

The input element represents a control for editing a single absolute URL given in the element's value.

That means default_protocol is useless because its purpose concerns invalid values.

How to reproduce

Display a UrlType field.

Possible Solution

input type should be text when default_protocol is not null and url inputmode should be added.

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