Mode
The data-ej-mode attribute specifies the textbox type. The possible values are,
-
Default
-
Search
Default is used to render the Autocomplete as normal textbox. Search is used to render the control with search icon. Default value for the attribute is “default”.
<input id="autocomplete_sample" data-role="ejmautocomplete" data-ej-mode="search" data-ej-datasource="window.datasrc" data-ej-fields-text="name" />