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

pull/5038/merge
Simon 2 weeks ago committed by GitHub
parent 2d4361d5fe
commit 290cdf5d4f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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) => {

Loading…
Cancel
Save