Skip to content

Commit

Permalink
doc: Fix date inputs on Chrome (#704)
Browse files Browse the repository at this point in the history
  • Loading branch information
mehm8128 authored Oct 24, 2024
1 parent 60cb4d8 commit e4addb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/docs/content/docs/parsers/demos.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ export function DateParserDemo({
if (e.target.value === '') {
setValue(null)
} else {
setValue(e.target.valueAsDate)
setValue(new Date(e.target.value))
}
}}
/>
Expand Down

0 comments on commit e4addb4

Please sign in to comment.