Skip to content

Commit

Permalink
Fix overriding default input component
Browse files Browse the repository at this point in the history
  • Loading branch information
MiraGeowerkstatt committed Sep 26, 2024
1 parent 26b2613 commit d385603
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/src/components/form/formInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export const FormInput: FC<FormInputProps> = ({
data-cy={fieldName + "-formInput"}
InputProps={{
...inputProps /* eslint-disable @typescript-eslint/no-explicit-any */,
inputComponent: withThousandSeparator ? (NumericFormatWithThousandSeparator as any) : null,
...(withThousandSeparator && { inputComponent: NumericFormatWithThousandSeparator as any }),
readOnly: readonly,
disabled: disabled,
}}
Expand Down

0 comments on commit d385603

Please sign in to comment.