The HTMLInputElement.showPicker()
method shows a browser picker to the user.
A browser picker is shown when the element is one of these types: "date"
, "month"
, "week"
, "time"
, "datetime-local"
, "color"
, or "file"
. It can also be prepopulated with items from a <datalist>
element or autocomplete
attribute.