React DatePicker not getting closed after the date selection
I am trying to use react-hook-form with react-datepicker. I am using a button to open the datepicker, and trying to close it once the selection of a new date is made.
React year datepicker range not showing correctly
I am using “react-datepicker”: “^3.0.0”,In the year datepicker
I have set the limit range for 2years, if i select 2020 jan 01, then it will showing the option 2020 and 2021 on the popver. But if select next day, Unfortunately, it is showing 2021 and 2022 except 2020.
I cant able to access the 2020 year dates.
ReactJS Datepicker not working properly to select “Year” , “Month” and then “Date” order wise
I am using react-datepicker
https://reactdatepicker.com/ and I want to achieve something like below.