empty field label
This commit is contained in:
1 parent
6e66a18535
commit
2ecdc2096e
2 files changed
+5
-2
No files matched your search
@@ -9,7 +9,9 @@ interface FieldLabelProps {
|
||||
|
||||
export const FieldLabel = ({ children, required = false, htmlFor }: FieldLabelProps) => {
|
||||
const theme = useTheme();
|
||||
|
||||
if (children === " ") {
|
||||
children = "\u00A0";
|
||||
}
|
||||
return (
|
||||
<Typography
|
||||
component="label"
|
||||
|
||||
Reference in new issue
Block a user