We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c50464e commit 8de44f4Copy full SHA for 8de44f4
src/components/Textfield/Textfield.tsx
@@ -156,7 +156,7 @@ export default function TextField(props: Props): JSX.Element {
156
return (
157
<Box className={`textfield ${className}`} sx={sx}>
158
<label htmlFor={id} className='textfield-label'>
159
- {required ? `${label} *` : label}
+ {required && label ? `${label} *` : label}
160
{tooltipTitle && <IconTooltip placement='top' title={tooltipTitle} />}
161
</label>
162
{!display &&
0 commit comments