materialize icon indicating copy to clipboard operation
materialize copied to clipboard

Autocomplete close function error

Open WowItsDoge opened this issue 8 years ago • 2 comments

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'

WowItsDoge avatar Jun 28 '18 10:06 WowItsDoge

Please create a Codepen showing this error in the latest code

Dogfalo avatar Jun 29 '18 03:06 Dogfalo

@WowItsDoge

Just tested this in codepen again - seems like it works now ? https://codepen.io/aljaxus/pen/vravMz?editors=1011

aljaxus avatar Jun 29 '18 14:06 aljaxus