diff --git a/Client/src/Components/Inputs/TextInput/index.jsx b/Client/src/Components/Inputs/TextInput/index.jsx index 4d648803a..b78ca5439 100644 --- a/Client/src/Components/Inputs/TextInput/index.jsx +++ b/Client/src/Components/Inputs/TextInput/index.jsx @@ -6,6 +6,11 @@ import PropTypes from "prop-types"; const getSx = (theme, type, maxWidth) => { const sx = { maxWidth: maxWidth, + "& .MuiFormHelperText-root": { + position: "absolute", + bottom: `-${theme.spacing(12)}`, + minHeight: theme.spacing(12), + }, }; if (type === "url") { @@ -57,6 +62,7 @@ const TextInput = forwardRef( ( { id, + name, type, value, placeholder, @@ -91,6 +97,7 @@ const TextInput = forwardRef(