I am trying to use Materialize.css autocomplete with my Polymer project.
Console Log:
Uncaught TypeError: $(...).autocomplete is not a function
My Code:
<div class="input-field">
<input type="text" id="assemp" class="autocomplete" value="{{emps::input}}">
<label for="assemp">Assigned Employee(s)</label>
</div>
Script:
attached : function() {
$('input.autocomplete').autocomplete({
data: {
"Apple": null,
"Microsoft": null,
"Google": 'http://placehold.it/250x250'
}
});
}