jquery-tagsinput-revisited icon indicating copy to clipboard operation
jquery-tagsinput-revisited copied to clipboard

Cannot read property 'autocomplete' of undefined

Open sami-tuf opened this issue 5 years ago • 1 comments

I have been facing the error Cannot read property 'autocomplete' of undefined only in case if I have another autocomplete/select2 field in same page.

But it was fine after following update Please update following change

if (jQuery.ui.autocomplete !== undefined) to if (jQuery.ui && jQuery.ui.autocomplete !== undefined)

sami-tuf avatar Sep 21 '20 05:09 sami-tuf

Thanks, I had the same issue and the fix was very similar

andersmmg avatar Jun 08 '22 22:06 andersmmg