mi6 / ic-design-system

Intelligence Community Design System
https://design.sis.gov.uk
MIT License
43 stars 30 forks source link

[ic-date-picker] Validation in guidance needs update #1165

Open gd2910 opened 1 month ago

gd2910 commented 1 month ago

What component is this related to?

IcDatePicker currently shows error validation that would not exist.

If disablePast prop is true the user would not be able select a previous date and thus not ebter an error state

image

MI6-255 commented 3 weeks ago

You can type in the date manually, but this example maybe needs to be cleared up and remove the picker part in the image all together.