Skip to content

Commit fb8695a

Browse files
Update packages/mantine/src/templates/BaseInputTemplate.tsx
1 parent 5a018d6 commit fb8695a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/mantine/src/templates/BaseInputTemplate.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export default function BaseInputTemplate<
4747
} = props;
4848

4949
const inputProps = getInputProps<T, S, F>(schema, type, options, false);
50-
const description = options.description || schema.description;
50+
const description = hideLabel ? undefined : options.description || schema.description;
5151
const themeProps = cleanupOptions(options);
5252

5353
const handleNumberChange = useCallback((value: number | string) => onChange(value), [onChange]);

0 commit comments

Comments
 (0)