microsoft / fast

The adaptive interface system for modern web experiences.
https://www.fast.design
Other
9.25k stars 590 forks source link

feat: (proposed) add support for date type inputs to text field #6828

Closed scomea closed 3 months ago

scomea commented 1 year ago

📖 Description

This PR proposes to add support for type=date inputs to the FAST text-field component as well as support for min/max dates.

Authors who use this should expect to get the native date input UI at runtime.

It should be noted that the native control doesn't offer much control over styling the calendar icon:

image

input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(0.5); }

🎫 Issues

This has been discussed in discord forums.

✅ Checklist

General

Component-specific

janechu commented 3 months ago

Closing this, due to #6951 we are only putting in fixes or critical features.