We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 754c686 commit 8722dfdCopy full SHA for 8722dfd
packages/rhf-mui/src/utils.ts
@@ -24,7 +24,7 @@ export function getTimezone<TDate extends PickerValidDate>(
24
export function readValueAsDate<TDate extends PickerValidDate>(
25
adapter: ReturnType<typeof useLocalizationContext>,
26
value: string | null | TDate
27
-): TDate | null | string {
+): TDate | null {
28
if(typeof value === 'string'){
29
if(value === ''){
30
return null
0 commit comments