fix: give display as none or empty in Stack component and remove it from Field component
This commit is contained in:
1 parent
0d0cab1894
commit
5b596256ea
1 file changed
+2
-1
@@ -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