diff --git a/packages/ra-ui-materialui/src/input/AutocompleteInput.tsx b/packages/ra-ui-materialui/src/input/AutocompleteInput.tsx index b7a21952148..fa157cb98f5 100644 --- a/packages/ra-ui-materialui/src/input/AutocompleteInput.tsx +++ b/packages/ra-ui-materialui/src/input/AutocompleteInput.tsx @@ -600,6 +600,7 @@ If you provided a React element for the optionText prop, you must also provide t variant={variant} className={AutocompleteInputClasses.textField} {...params} + {...TextFieldProps} InputProps={mergedTextFieldProps} size={size} />