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

Skip to content

[Form] TimeType does not work in new Edge #35989

Closed
@jackbentley

Description

@jackbentley

Symfony version(s) affected: all

Description
When submitting a form via Edge using the TimeType; Edge will submit the value with both seconds and milliseconds every time regardless of the step attribute (e.g. 20:11:00.000). This is valid according to W3C.

It looks like Symfony is unable to parse the milliseconds in the DateTimeToStringTransformer and this then causes an invalid value.

This only seems to be an issue since Edge has moved to Webkit.

How to reproduce

  1. Create a form with a TimeType
  2. Attempt to submit the form with a value in Edge 80+

Possible Solution

Additional context

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