diff --git a/packages/mui-joy/src/Autocomplete/Autocomplete.tsx b/packages/mui-joy/src/Autocomplete/Autocomplete.tsx index 21879755e722cc..3601284ec7eeaa 100644 --- a/packages/mui-joy/src/Autocomplete/Autocomplete.tsx +++ b/packages/mui-joy/src/Autocomplete/Autocomplete.tsx @@ -632,9 +632,14 @@ const Autocomplete = React.forwardRef(function Autocomplete( }, }); - const defaultRenderOption = (optionProps: any, option: unknown) => ( - {getOptionLabel(option)} - ); + const defaultRenderOption = (optionProps: any, option: unknown) => { + const { key, ...rest } = optionProps; + return ( + + {getOptionLabel(option)} + + ); + }; const renderOption = renderOptionProp || defaultRenderOption;