Skip to content

Commit

Permalink
Remove automatic picker show for date and time inputs (#10331)
Browse files Browse the repository at this point in the history
  • Loading branch information
rithviknishad authored Jan 31, 2025
1 parent 5abeec2 commit 8645c58
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/components/ui/input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,6 @@ const Input = React.forwardRef<HTMLInputElement, React.ComponentProps<"input">>(
)}
ref={ref}
{...props}
onFocus={(e) => {
if (type === "date" || type === "time") {
e.target.showPicker();
}
props.onFocus?.(e);
}}
/>
);
},
Expand Down

0 comments on commit 8645c58

Please sign in to comment.