New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
readOnly <Calendar /> support #40
Comments
Hello Is this enough to make the calendar readOnly? import { Calendar } from "react-multi-date-picker";
import { useState } from "react";
export default function App() {
const [value, setValue] = useState();
return <Calendar value={value} onChange={() => setValue({})} />;
} Or do I need to add a readOnly prop for this purpose? |
hmmm, I see that it works when the |
I will add the |
Automatically closed with my merge command!
|
works perfectly now, thank you! |
You're welcome. |
Thank you for this awesome calendar picker component!
I just have a question about the approach for making the calendar component read only and not change values when a date is clicked?
also, Typo on Calendar ref page (Opene instead of Open(?))
react-multi-date-picker/website/src/docs/ref.js
Line 50 in 00569f7
The text was updated successfully, but these errors were encountered: