focus to input on popups
-
Hi,
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 :
https://jsfiddle.net/waugrryy/288/
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?
Thanks,
Nicolas -
-
Great !
Thank you very much!