Hi,
I want to add a custom input text for filtering the items of a combobox in Angular
I tried to add but the text box seems not focusable. Even if I try to manually focus on it with extra code the user cannot select the text from the text box.
Is it supported? Can I somehow implement it?
<kendo-combobox
#kdropdownlist
kendoInputFocusBehavior
[size]="dropDownSize"
rounded="medium"
fillMode="outline"
[data]="listItems$ | async"
[clearButton]="false"
[valuePrimitive]="true"
textField="description"
valueField="value"
[virtual]="true"
>
<ng-template kendoComboBoxHeaderTemplate>
<input type="text" class="combobox-filter-input" [placeholder]="placeholder" />
</ng-template>
<ng-template kendoPrefixTemplate> </ng-template>
<ng-template kendoComboBoxItemTemplate let-dataItem>
<ng-container [ngTemplateOutlet]="showMoreFields ? moreFields : noMoreFields" [ngTemplateOutletContext]="{ listItem: dataItem }"> </ng-container>
</ng-template>
</kendo-combobox>
</div>
<ng-template #noMoreFields let-listItem="listItem">
{{ listItem.description }}
</ng-template>
<ng-template #moreFields let-listItem="listItem">
<span class="fx-flex fx-layout-row select-m-column">
<span *ngFor="let field of listItem.moreFields" [class]="getItemWidthFlexClass(optionFieldWidth)" class="optionFieldWidth-items-style">
{{ field }}
</span>
</span>
</ng-template>
Thank you