We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0c8fc06 + f7c0b62 commit fdc8b6cCopy full SHA for fdc8b6c
pages/index.js
@@ -34,6 +34,7 @@ export default function Playground() {
34
const handleChange = (value, e) => {
35
setValue(value);
36
console.log(e);
37
+ console.log("value", value);
38
};
39
return (
40
<div className="px-4 py-8">
src/components/Calendar/index.tsx
@@ -121,8 +121,8 @@ const Calendar: React.FC<Props> = ({
121
const ipt = input?.current;
122
changeDatepickerValue(
123
{
124
- startDate: start,
125
- endDate: end
+ startDate: dayjs(start).format("YYYY-MM-DD"),
+ endDate: dayjs(end).format("YYYY-MM-DD")
126
},
127
ipt
128
);
0 commit comments