Skip to content

[docs][material-ui][Autocomplete] Google Maps autocomplete demo missing instructions about autosuggest-highlight dependency #42567

@wbt

Description

@wbt

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

Metadata

Metadata

Assignees

Labels

docsImprovements or additions to the documentation.good first issueGreat for first contributions. Enable to learn the contribution process.ready to takeHelp wanted. Guidance available. There is a high chance the change will be acceptedscope: autocompleteChanges related to the autocomplete. This includes ComboBox.support: docs-feedbackFeedback from documentation page.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions