Skip to content

Commit

Permalink
Merge pull request #6486 from mohandes-jiri/fix-auto-complete-input-m…
Browse files Browse the repository at this point in the history
…aterail-error

Eject classes from TextField props
  • Loading branch information
fzaninotto committed Jan 21, 2022
2 parents b4dee2f + 5f98de6 commit 0bde89c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ra-ui-materialui/src/input/AutocompleteInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -519,6 +519,7 @@ export const AutocompleteInput = (props: AutocompleteInputProps) => {
ref,
size,
color,
classes: inputPropsClasses,
...inputProps
} = getInputProps({
onBlur: handleBlur,
Expand All @@ -531,7 +532,6 @@ export const AutocompleteInput = (props: AutocompleteInputProps) => {
? [getCreateItem()]
: []),
];

return (
<div className={classes.container}>
<TextField
Expand Down

0 comments on commit 0bde89c

Please sign in to comment.