diff --git a/src/components/Field.astro b/src/components/Field.astro index dd8a099..4d9a8c6 100644 --- a/src/components/Field.astro +++ b/src/components/Field.astro @@ -11,6 +11,7 @@ type Kind = | "number" | "textarea" | "select" + | "datetime" | "date" | "time" | "file" @@ -106,6 +107,7 @@ const controlWrap = "wr:relative"; "email", "password", "number", + "datetime", "date", "time", "file", @@ -119,9 +121,15 @@ const controlWrap = "wr:relative"; } { - ["text", "email", "password", "number", "date", "time"].includes( - p.kind ?? "text", - ) && ( + [ + "text", + "email", + "password", + "number", + "date", + "datetime", + "time", + ].includes(p.kind ?? "text") && (