react-multi-date-picker icon indicating copy to clipboard operation
react-multi-date-picker copied to clipboard

date picker not working while using react-hook-form

Open amiryeg1 opened this issue 3 years ago • 3 comments

I'm working on a next.js (with typescript) project and I'm trying to build a form using react-hook-form. inside the form, I have implemented the DatePicker component

I tried the tutorial and the example code provided inside the documentation

but the code throws error and doesn't work at all!

it looks like the example provided in the documentation is deprecated or something is wrong with it! if I try to run the code it throws an error saying:

ReferenceError: language is not defined

if I delete the language, the error will go but the app doesn't work as expected.

amiryeg1 avatar Mar 12 '22 12:03 amiryeg1

I'm working with ReactJS using context, but not work.

andrelupus1 avatar May 12 '22 21:05 andrelupus1

I have same issue

alimartondi avatar May 26 '22 06:05 alimartondi

Please follow this example:

https://codesandbox.io/s/ecstatic-scott-iuzuqr?file=/src/App.js

shahabyazdi avatar Sep 10 '22 07:09 shahabyazdi