diff --git a/src/Pages/IO_Management/EditIO/EditIOForm.jsx b/src/Pages/IO_Management/EditIO/EditIOForm.jsx index 52e0bfd..60af0e9 100644 --- a/src/Pages/IO_Management/EditIO/EditIOForm.jsx +++ b/src/Pages/IO_Management/EditIO/EditIOForm.jsx @@ -12,13 +12,14 @@ import GlobalStateContext from "../../../Contexts/GlobalStateContext"; import { useParams } from "react-router-dom"; const FormField = ({ field, register, errors }) => { - const { label, name, type, placeHolder, options, width } = field; - + const { label, name, type, placeHolder, options, width } = field; return ( - {label} + + {label} + {type === "text" && ( { > + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {/* Drawer */} - { Update IO Status - {/* */} @@ -211,7 +252,7 @@ const ViewIOdataHeader = () => { - + */} {/* Modals */}