react-materialize
                                
                                 react-materialize copied to clipboard
                                
                                    react-materialize copied to clipboard
                            
                            
                            
                        Autocomplete doesn't work
Description
Autocomplete doesn't work
Steps to Reproduce
- Install React-Materialize
- Import Autocomplete from 'react-materialize'
- Copy and paste this example http://react-materialize.github.io/react-materialize/?path=/story/javascript-autocomplete--default
Expected behavior: The autocomplete now should work but it doesn't
Actual behavior: The SPA crashes or the autocomplete doesn't work without giving any feedback
Versions
react-materialize: 3.3.4 materialize-css: 1.0.0 react: 16.8.6
Thanks for helping out!
Are we sure that materialize-css javascript is being included? Does any other js component work or only Autocomplete fails?
Me too, having a problem in AutoComplete error: Autocomplete expected '}' inside options but i only copy what said here: http://react-materialize.github.io/react-materialize/?path=/story/javascript-autocomplete--default
React: 16.5.2 react-materialize: 3.3.4 materialize-css: 1.0.0
I can confirm that problem. It think it should be labeled "bug" instead of "question".
I have just tried with this sample and it works as expected.
<Autocomplete options={{data: {'Gus Fring': null,'Saul Goodman': null,'Tuco Salamanca': 'https://placehold.it/250x250'}}} placeholder="Insert here" />
Can you paste a code sample?

Hey @alextrastero, testing this I've found that when providing dynamic data the Autocomplete didn't update itself with the new data provided in the options prop.