Mbsc-input focus in controller (angular)

I’m using mbsc 5.18

I need focus action in mbsc-input angular controller

how can i trigger event ? (focus or click )


this solution is not work

document.querySelector(’.text-field’).dispatchEvent(new Event(‘focus’)) <-- it works but it’s not clear solution

You can set the focus with the following code: myInput.nativeElement.focus()