From d4c92a8f0c046512980f082600b793f67153ee6e Mon Sep 17 00:00:00 2001 From: Noah Spannbauer Date: Sun, 28 Jul 2024 09:03:40 -0500 Subject: [PATCH] adding pilots --- app/src/components/pilotForm/PilotForm.tsx | 11 ++++++++--- app/src/components/pilots/Pilots.tsx | 10 +++++++++- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/app/src/components/pilotForm/PilotForm.tsx b/app/src/components/pilotForm/PilotForm.tsx index 6b33b62..e846848 100644 --- a/app/src/components/pilotForm/PilotForm.tsx +++ b/app/src/components/pilotForm/PilotForm.tsx @@ -223,7 +223,7 @@ const PilotForm: React.FC = ({
-
+
Medical
@@ -236,7 +236,12 @@ const PilotForm: React.FC = ({ control={methods.control} render={({ field }) => { return ( - @@ -255,7 +260,7 @@ const PilotForm: React.FC = ({ />
- Class + Expiration Date
= () => { const [isDrawerOpen, setIsDrawerOpen] = useState(false); const onOpenCloseDrawer = () => { setIsDrawerOpen(!isDrawerOpen); }; + const [date, setDate] = useState(); return (
@@ -23,6 +24,13 @@ const Pilots: React.FC = () => { Add Pilot + console.log(date)} + inputProps={{ + value: date + }} + /> +