materialize icon indicating copy to clipboard operation
materialize copied to clipboard

Autocomplete doesn't work

Open olilutz opened this issue 10 years ago • 2 comments

Hey there if I use the new Form Autocomplete with the code provided on the page there's no dropdown list opening up and suggesting the words. The class="autocomplete" should be added for jquery $(input.autocomplete)... Autocomplete is a cool feature please make it work correctly. For comparison I used the cdn script version 0.97.7 If it works for someone else please show me how to make it work.

olilutz avatar Aug 01 '16 11:08 olilutz

Here's a CodePen http://codepen.io/diegonc/pen/qNrWRP

Note that the autocomplete plugin is registered with jQuery in a ready callback so it's not available until then.

diegonc avatar Aug 01 '16 14:08 diegonc

Thanks it worked :)

olilutz avatar Aug 01 '16 14:08 olilutz