I have a label inside of an image that pops up when users click a button.
I would like the label to already be “selected” for keyboard input. The current implementation requires users to click inside of the label area before they can begin typing keyboard input.
Is there any way I can set the label to be “selected” and ready for input without requiring the user to click inside of it?
Setting the focus on the label field:
your label must be
inputtype andmouseEnabledandselectableset totrue.