diff --git a/src/form/types/field.type.ts b/src/form/types/field.type.ts index f50e03b..dbf0992 100644 --- a/src/form/types/field.type.ts +++ b/src/form/types/field.type.ts @@ -1,8 +1,11 @@ // ─── Parent types ─── -export type ParentKeyType = "input" | "textarea" | "select" | "multiselect" | "checkbox"|"button"; +export type ParentKeyType = "input" | "textarea" | "select" | "multiselect" | "checkbox"|"button"|"radio"; // ─── Child types (only for "input") ─── -export type InputSubType = "text" | "email" | "number" | "password" | "button" | "color" | "date" | "datetime-local" | "file" | "hidden" | "image" | "month" | "radio" | "range" | "reset" | "search" | "submit" | "tel" | "time" | "url" | "week" ; +export type InputSubType = "text" | "email" | "number" | "password" | "color" | "date" | "datetime-local" | "file" | "hidden" | "image" | "month" | "range" | "reset" | "search" | "submit" | "tel" | "time" | "url" | "week" ; + +// button subtypes — maps to HTML or