[Webkit-unassigned] [Bug 223128] New: date/time input min and max attribute are ignored

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 12 11:00:11 PST 2021


https://bugs.webkit.org/show_bug.cgi?id=223128

            Bug ID: 223128
           Summary: date/time input min and max attribute are ignored
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: macOS 11
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Forms
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: luke at warlow.dev
                CC: cdumez at apple.com, wenson_hsieh at apple.com

When using input type date, time or datetime-local the min and max attribute values are mostly ignored. Both the value when edited with keyboard arrows and the submitted form data ignore the attributes entirely. While the UI won't select past the max or min value, it doesn't give any indication of what they are, creating a poor user experience.

Examples can be found on the MDN pages for the respective input types: 
e.g. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local

I've tested on macOS Big Sur 11.2,3, Safari Technology Preview Version 122.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210312/fd3f2f64/attachment.htm>


More information about the webkit-unassigned mailing list