DateRangePicker: How to use validation methods on dateRange picker which we can use already for DatePicker #8108
Unanswered
kmanisha29
asked this question in
Q&A
Replies: 1 comment
-
|
Hi @kmanisha29 The question as written is a bit unclear, and it’s hard to provide a meaningful answer without more details. There are several factors that could affect The fastest way for us to help would be for you to create a reproducible example using the StackBlitz template, but any working example is fine. |
Beta Was this translation helpful? Give feedback.
0 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.
Uh oh!
There was an error while loading. Please reload this page.
-
I see these methods are mentioned in docs for DateRangePicker as well as DatePicker.

Add ref to DatePicker and using isValidValue with datePickerRef works but same method is not working with dateRange value.
its giving wrong value always
const isValidDateRange = useMemo(() => {
const isValidFormat = datePickerRef.current?.isValidValue(dateRange)
Beta Was this translation helpful? Give feedback.
All reactions