Bug 261701 - showPicker() method does not trigger datalist
Summary: showPicker() method does not trigger datalist
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: Safari 17
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Luke Warlow
URL:
Keywords: BrowserCompat, InRadar
Depends on:
Blocks: 261703 262852
  Show dependency treegraph
 
Reported: 2023-09-18 15:02 PDT by Luke Warlow
Modified: 2023-10-30 16:03 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luke Warlow 2023-09-18 15:02:53 PDT
Visit https://demo.lukewarlow.dev/showPicker/

When click the showPicker buttons for the various inputs near the bottom that have attached datalists nothing happens. I would expect this to behave like Chrome and correctly show the datalist.
Comment 1 Karl Dubost 2023-09-19 01:32:29 PDT
Y = Yes 
N = No
M = Maybe

Tested on macOS, not iOS

S F C
------
Y Y Y date (for Safari only on clicking the field)
M M Y datetime-local (for Safari only on clicking the field. For Firefox/Safari, no time picker)
N N Y time
N N Y month  (Safari/Firefox shows text instead of month)
N N Y week   (Safari/Firefox shows text instead of week)
Y Y Y color
N N M email  (Chrome shows item1)
Y Y Y file
Y Y M number (Chrome shows item1. Safari/Firefox have widgets for selecting numbers)
N N M search (Chrome shows item1)
N N M tel (Chrome shows item1)
N N M text (Chrome shows item1)
N N M url (Chrome shows item1)

To note that this is probably not part of WebKit for most of it, but UIKit.
Comment 2 Luke Warlow 2023-09-19 05:58:24 PDT
Pull request: https://github.com/WebKit/WebKit/pull/17910
Comment 3 Radar WebKit Bug Importer 2023-09-25 15:03:36 PDT
<rdar://problem/116017782>
Comment 4 EWS 2023-10-30 16:03:24 PDT
Committed 269981@main (dddc5bb328a4): <https://commits.webkit.org/269981@main>

Reviewed commits have been landed. Closing PR #17910 and removing active labels.