Replies: 1 comment 2 replies
-
try something like this: {/* some code here*/}
<Calendar
mode="single"
selected={field.value}
onSelect={field.onChange}
disabled={(date) =>date < new Date()}
initialFocus
/>
{/* some code there*/} lemme know how it went :) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How to disable the previous dates before the current date on calendar?
Beta Was this translation helpful? Give feedback.
All reactions