mui / material-ui-pickers

Date & Time pickers for Material UI (support from v1 to v4)
https://github.com/mui/material-ui-pickers/issues/2157
MIT License
2.32k stars 833 forks source link

Deny to enter date less than 01.01.1900 in DateRangePicker #1720

Closed AlexanderVishnevsky closed 4 years ago

AlexanderVishnevsky commented 4 years ago

Hi there! Found some bug in DateRangePicker component.

ezgif-3-cf2bb36775fc

Environment

Tech Version
@material-ui/pickers v4.0.0-alpha.5

Steps to reproduce

https://v4-0-0-alpha-5.material-ui-pickers.dev/demo/daterangepicker#basic-usage

Expected behavior

Giving error after entering first two symbols in year field under 19

Actual behavior

Uncontrolled range

oliviertassinari commented 4 years ago

Why did you close the issue?

AlexanderVishnevsky commented 4 years ago

Why did you close the issue?

I think this problem caused by #1721.