From b1ee3cdf8546e9541e4d80e63015eb938c9c4a9b Mon Sep 17 00:00:00 2001 From: Pablo Allendes Date: Tue, 8 Oct 2024 16:36:01 +0200 Subject: [PATCH] fix(TextInput): support date as type --- src/components/form-field/text-input/text-input.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/form-field/text-input/text-input.tsx b/src/components/form-field/text-input/text-input.tsx index 13f3eb8a..e3e01b4b 100644 --- a/src/components/form-field/text-input/text-input.tsx +++ b/src/components/form-field/text-input/text-input.tsx @@ -16,7 +16,7 @@ const formFieldGroupStyles = classNames( ); export interface TextInputProps extends React.ComponentPropsWithoutRef<"input"> { - type?: "text" | "password" | "email"; + type?: "text" | "password" | "email" | "date"; autoSelect?: boolean; ariaDescribedBy?: string; LeftIcon?: React.ElementType;