diff --git a/site/source/design-system/field/NumberField.tsx b/site/source/design-system/field/NumberField.tsx index 24391efc7..52d027979 100644 --- a/site/source/design-system/field/NumberField.tsx +++ b/site/source/design-system/field/NumberField.tsx @@ -113,11 +113,12 @@ export default function NumberField(props: NumberFieldProps) { > )} {...inputWithCursorHandlingProps} placeholder={ diff --git a/site/source/design-system/field/TextField.tsx b/site/source/design-system/field/TextField.tsx index 52516542e..24dff2357 100644 --- a/site/source/design-system/field/TextField.tsx +++ b/site/source/design-system/field/TextField.tsx @@ -25,7 +25,11 @@ export default function TextField(props: TextFieldProps) { $hasLabel={!!props.label && !props.small} > )} + {...(omit( + props, + 'label', + 'errorMessage' + ) as HTMLAttributes)} {...(inputProps as HTMLAttributes)} placeholder={ (inputProps as HTMLAttributes).placeholder ??