[docs][material-ui][Autocomplete] Google Maps autocomplete demo missing instructions about autosuggest-highlight
dependency
#42567
Labels
component: autocomplete
This is the name of the generic UI component, not the React module!
docs
Improvements or additions to the documentation
good first issue
Great for first contributions. Enable to learn the contribution process.
package: material-ui
Specific to @mui/material
ready to take
Help wanted. Guidance available. There is a high chance the change will be accepted
support: docs-feedback
Feedback from documentation page
Related page
https://mui.com/material-ui/react-autocomplete/#google-maps-place
Kind of issue
Missing information
Issue description
The sample code at https://mui.com/material-ui/react-autocomplete/#google-maps-place fails compilation with three errors, that all boil down to a missing dependency.
This could be effectively fixed by copying the same first sentence found under "Highlights:" ("The following demo relies on autosuggest-highlight, a small (1 kB) utility for highlighting text in autosuggest and autocomplete components.") to the description.
Context
This is useful to be able to run the example more or less as published, with one's own API key as is already made clear.
Search keywords: maps autosuggest-highlight implied implicit any
The text was updated successfully, but these errors were encountered: