jQuery.Deferred exception: Cannot set properties of undefined (setting '_renderItem')
I've been using the following code to render the autocomplete results: $('#'+id_input).data("ui-autocomplete")._renderItem = function(ul, item){ let conteudo=""; conteudo += "<div class='autocomplete__comparador' >"+ "<div style='display:inline-block;vertical-align:top;'>" + "<div class='autocomplete_nome_fundo'><span style='font-size:14px;'>" + item.ticker + '</span> ' + item.nome + "</div>"+ "</div>"+ "</div>"; return $("<li…