Hey everyone,
In Angular, how do i set focus on a mbsc-input text?
Hey everyone,
In Angular, how do i set focus on a mbsc-input text?
Hi Jose,
Here’s an example for setting focus on an mbsc-input
:
<mbsc-input #myInput>My Input</mbsc-input>
<mbsc-button (click)="myInput.element.focus()">Focus</mbsc-button>