materialize
materialize copied to clipboard
Autocomplete close function error
Expected Behavior
When calling
$('#autocomplete-input').autocomplete('close');
the autocomplete suggestion list should close.
Current Behavior
It generates an error console message:
'Uncaught Error: Method close does not exist on jQuery.autocomplete at Function.error (jquery.min.js:2) at w.fn.init.jQuery.fn'
Please create a Codepen showing this error in the latest code
@WowItsDoge
Just tested this in codepen again - seems like it works now ? https://codepen.io/aljaxus/pen/vravMz?editors=1011