fix: give display as none or empty in Stack component and remove it from Field component

This commit is contained in:
om-3004
2024-10-12 13:52:51 +05:30
parent 0d0cab1894
commit 5b596256ea

View File

@@ -74,6 +74,7 @@ const Field = forwardRef(
"&:has(.input-error) .MuiOutlinedInput-root fieldset": {
borderColor: theme.palette.error.text,
},
display: hidden ? "none" : "",
}}
>
{label && (
@@ -142,7 +143,7 @@ const Field = forwardRef(
},
}
: {
display: hidden ? "none" : "",
}
}
InputProps={{