I am using react-datepicker
. My date picker format is MM/DD/YYYY
but when I am writing DD/MM/YYYY
(31/12/2020
) and typing 3 in date picker it's moving to march month in the date picker and after completing full date and coming out of date picker its moving 03/01/2020
but it should give invalid date message.
Asked
Active
Viewed 25 times
1

Amila Senadheera
- 12,229
- 15
- 27
- 43

Nisha
- 11
- 1
-
Can you create a codesandbox https://codesandbox.io/s/new that recreate the issue? – Amila Senadheera Dec 20 '21 at 14:21