I have had success adding event handlers to views by access the view.context.element.
So you could add the following in your "on load" for the typeahead. If me.context.element doesn't work, you can try getting the actual input element which is: me._instance.text.
// adding to the view element
me.context.element.oninput = (e) => {
const inputData = e.data; // this is the value of the input event
const value = me.getData(); // this is the value of the view (probably won't have the value you want)
// do what you want with the value
}
// adding to the input itself
me._instance.text.oninput = (e) => {
const inputData = e.data; // this is the value of the input event
const value = me.getData(); // this is the value of the view (probably won't have the value you want)
// do what you want with the value
}
------------------------------
Julie Garza
------------------------------