[docs][material-ui][Autocomplete] Hint demo is broken #42882
Labels
bug 🐛
Something doesn't work
component: autocomplete
This is the name of the generic UI component, not the React module!
docs
Improvements or additions to the documentation
package: material-ui
Specific to @mui/material
regression
A bug, but worse
Related page
https://mui.com/material-ui/react-autocomplete/
Kind of issue
Broken demo
Issue description
I think this content is broken/outdated. Please review and update.
value
prop in theAutocomplete
componentAdditional features to add:
<select>
element)Context
Here is what I need my Autocomplete to do:
data
(the array of options),defaultValue
(the default option to show onload, may benull
),onChangeFunc
, a function from a parent component to call onChangedefaultValue
and its associated label from thedata
array) if existsvalue
(notinputValue
) to theonChangeFunc
data
array.Thank you!
Search keywords: autocomplete
The text was updated successfully, but these errors were encountered: