In our odata grid, we are trying to disable this autocomplete. We don't want it to pre-fill that red suggestion.
We have already set [autofill]='false' in the ejs-grid element, but that did nothing. Additionally, we used this function, bound to the actionComplete event, to remove the autocomplete element, but still the autocomplete remains.
public disableAutocomplete(event: any, grid: GridComponent ): void {
if (event.requestType === 'filterafteropen') {
const filterDialog = grid.element.querySelector('.e-filter-popup');
const autoCompleteElements = Array.from(filterDialog.querySelectorAll('.e-autocomplete'));
for (const element of autoCompleteElements) {
element.classList.remove('e-autocomplete');
}
}
}