mirror of
https://github.com/bluewave-labs/Checkmate.git
synced 2026-01-17 23:29:42 -06:00
fix: give display as none or empty in Stack component and remove it from Field component
This commit is contained in:
@@ -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={{
|
||||
|
||||
Reference in New Issue
Block a user