refresh fonksiyonunu tetikleyip deneyebilir misiniz?
function populateDropdown(data, dropdown) {
data.forEach(function (item) {
const option = document.createElement("option");
option.value = item.make;
option.textContent = item.make;
dropdown.appendChild(option);
});
// Refresh özelliğini çalıştır
dropdown.refresh(); //ya da refreshItems();
}