Unverified Commit 290cdf5d authored by Simon's avatar Simon Committed by GitHub

chore: use input type `datetime-local` instead of `text` (#5174)

parent 2d4361d5
......@@ -18,7 +18,7 @@ interface Props {
const DateTimeInput: React.FC<Props> = ({ value, onChange }) => {
return (
<input
type="text"
type="datetime-local"
className={cn("px-1 bg-transparent rounded text-xs transition-all", "border-transparent outline-none focus:border-border", "border")}
defaultValue={formatDate(value)}
onBlur={(e) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment