focus to input on popups
I’d like to focus on a q-input contained in a popover/dialog when the popover/dialog is shown (usually through a button). I can’t find the way to do it. Here a fiddle with a try :
I put two buttons. The first one to show the popover and simultaneously I call the focus function with the @click event. No focus is happening inside the popover.
The second button is inside the popover and correctly set the focus.
I would like to focus when one clicks on the first button. Is there a way to do that?
benoitranque last edited by
Thank you very much!