Top "React-datepicker" questions

it allows the user to select a date easily without having to know the format that the input expects.

Change locale in react-datepicker

I am using react-datepicker NPM package, I tried to follow documentation but I was unable to import registerLocale and setDefaultLocale …

reactjs localization react-datepicker
React-datepicker with a Formik form

I'm trying to use react-datepicker in a Formik form. I have: import DatePicker from "react-datepicker"; import "react-datepicker/dist/react-datepicker.css"; …

reactjs formik react-datepicker
react-datepicker input width will not adjust to 100%

I am attempting to adjust the width of the react-datepicker input box and surprisingly have found little information out there …

css reactjs react-datepicker
Add style/class to react-datepicker

So basicly how do I add a css class? I've given this a go but it ain't working: <DatePicker …

node.js reactjs webpack react-datepicker
React Datepicker exclude past dates

I'm using this lib in my app: https://reactdatepicker.com/ There is an excludeDates prop which I can use, where …

reactjs react-datepicker
Set timezone React-Datepicker

I'm using the react-datepicker to let user select a date. However, right now it uses local time (PDT), but I …

reactjs react-datepicker
Is it possible to use react-datepicker with react hooks forms?

Is it possible to use react-datepicker with react hooks forms? I tried following sample: https://codesandbox.io/s/awesome-shape-j0747?fontsize=14&…

reactjs react-datepicker react-hook-form
How to implement validation/restriction in react-datepicker

I am trying to implement restriction or validation in a react-datepicker component. I am using redux-form for validation and normalization(…

javascript reactjs redux redux-form react-datepicker
How to disable <react-date-picker> component on a button click

I have used a date picker component from react-date-picker. I need to disable the entire date control and the button …

reactjs ecmascript-6 react-datepicker
how to create list of Years in the dropdown using react js JSX

I want to create a list of the Years in react JSX I have a code for the Jquery, please …

javascript jquery reactjs datepicker react-datepicker