From 7aa6f6bc6d22e328246eb6c5d59e784e01886ebf Mon Sep 17 00:00:00 2001 From: Potenz Date: Sun, 14 Sep 2025 17:42:10 +0530 Subject: [PATCH] Info added --- apps/Frontend/src/components/ui/dateInput.tsx | 3 +++ apps/Frontend/src/components/ui/dateInputField.tsx | 2 ++ 2 files changed, 5 insertions(+) diff --git a/apps/Frontend/src/components/ui/dateInput.tsx b/apps/Frontend/src/components/ui/dateInput.tsx index 904d361..5ed2b05 100644 --- a/apps/Frontend/src/components/ui/dateInput.tsx +++ b/apps/Frontend/src/components/ui/dateInput.tsx @@ -19,6 +19,9 @@ interface DateInputProps { disablePast?: boolean; } +// THIS COMPONENT IS MADE FOR GENERAL FIELD IN PAGE. +// Here, User can input/paste date in certain format, and also select via calendar + export function DateInput({ label, value, diff --git a/apps/Frontend/src/components/ui/dateInputField.tsx b/apps/Frontend/src/components/ui/dateInputField.tsx index dcb40fa..3174ec7 100644 --- a/apps/Frontend/src/components/ui/dateInputField.tsx +++ b/apps/Frontend/src/components/ui/dateInputField.tsx @@ -16,6 +16,8 @@ interface DateInputFieldProps { disablePast?: boolean; } +// THIS COMPONENT MADE FOR USING IN FORM FIELD INSIDE ANY FORM CONTROL, NOT AS INPUT FIELD NORMALLY. +// Here, User can input/paste date in certain format, and also select via calendar export function DateInputField({ control, name,