prefixOptions.template String|Function
The template for the prefix adornment of the component.
Example - specify prefix adornment template
<input id="autocomplete" />
<script>
$("#autocomplete").kendoAutoComplete({
dataSource: [
{ id: 1, name: "Apples" },
{ id: 2, name: "Oranges" }
],
dataTextField: "name",
prefixOptions: {
template: () => `${kendo.ui.icon("search")}`
}
})
</script>