diff --git a/docs/src/pages/components/autocomplete/FixedTags.js b/docs/src/pages/components/autocomplete/FixedTags.js index 3039b4801afc52..a76eaaa5a4bcd6 100644 --- a/docs/src/pages/components/autocomplete/FixedTags.js +++ b/docs/src/pages/components/autocomplete/FixedTags.js @@ -14,7 +14,7 @@ export default function FixedTags() { defaultValue={[top100Films[6], top100Films[13]]} renderTags={(value, getTagProps) => value.map((option, index) => ( - + )) } style={{ width: 500 }} diff --git a/docs/src/pages/components/autocomplete/FixedTags.tsx b/docs/src/pages/components/autocomplete/FixedTags.tsx index d655dc23f56606..be3aca0eaae2be 100644 --- a/docs/src/pages/components/autocomplete/FixedTags.tsx +++ b/docs/src/pages/components/autocomplete/FixedTags.tsx @@ -14,7 +14,7 @@ export default function FixedTags() { defaultValue={[top100Films[6], top100Films[13]]} renderTags={(value: FilmOptionType[], getTagProps) => value.map((option: FilmOptionType, index: number) => ( - + )) } style={{ width: 500 }} diff --git a/packages/material-ui-lab/src/Autocomplete/Autocomplete.js b/packages/material-ui-lab/src/Autocomplete/Autocomplete.js index 45f6d6e4a81e8e..856a6d68dedf78 100644 --- a/packages/material-ui-lab/src/Autocomplete/Autocomplete.js +++ b/packages/material-ui-lab/src/Autocomplete/Autocomplete.js @@ -301,6 +301,7 @@ const Autocomplete = React.forwardRef(function Autocomplete(props, ref) { className: clsx(classes.tag, { [classes.tagSizeSmall]: size === 'small', }), + disabled, ...getTagProps(params), });