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,