I am using autocomplete on an editing screen and placing the pre-selected values using the 'value' property of the automplete. However, it is not possible to delete any pre-selected element. What am I missing?
let mainCities = [{"id":"3500105","nome":"Adamantina"},{"id":"3500204","nome":"Adolfo"}];
var listObj = new ej.dropdowns.MultiSelect({
dataSource: cities,
popupHeight: '200px',
popupWidth: '250px',
fields: { text: 'nome', value: 'id' },
allowFiltering: true,
placeholder: "Selecione as cidades...",
value: mainCities
});
listObj.appendTo('#seleciona');