Skip to content

Commit

Permalink
[core] Fix revert conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Oct 23, 2022
1 parent 599cb89 commit 7b2d037
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/data/material/components/autocomplete/Highlights.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default function Highlights() {
<TextField {...params} label="Highlights" margin="normal" />
)}
renderOption={(props, option, { inputValue }) => {
const matches = match(option.title, inputValue);
const matches = match(option.title, inputValue, { insideWords: true });
const parts = parse(option.title, matches);

return (
Expand Down
2 changes: 1 addition & 1 deletion docs/data/material/components/autocomplete/Highlights.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default function Highlights() {
<Autocomplete
id="highlights-demo"
sx={{ width: 300 }}
options={top100Films()}
options={top100Films}
getOptionLabel={(option) => option.title}
renderInput={(params) => (
<TextField {...params} label="Highlights" margin="normal" />
Expand Down

0 comments on commit 7b2d037

Please sign in to comment.