Hi! I'm trying to add a new keyboard event to the combobox component, but it has no API to do this. The keyboardevent object is protected and I can't add to it anything. The only way for me to add keyboard event is if i add it directly via rendered input element like this:
@ViewChild('patientSearch')
public patientSearchObject: ComboBoxComponent
.
.
.
this.patientSearchObject.element.children[0].children[1].addEventListener(
'keydown',
this.onKeyDown
)
Is there any other way? I basically want to be able to populate the combobox with data as I type, the data would come from a service.