Set focus on first field
-
Hello guys!
How to implement set focus for the first field of all components? Is there anything in the quasar?
Thanks!
-
Hey,
theres an
autofocus
prop on form componentssee the API section:
3rd prop from the bottom
-
Thanks for listening!
Is there any way to do this for the first q-input automatically? Without having to implement on each one manually.
Hugs!
-
@flavioafa That would be a nice QForm feature.
-
@flavioafa use $ref to get autofocus for specific control.
-
I think I will make a PR tomorrow
-
-
Good job @lucasfernog !
Scott
-
@lucasfernog It was merged in. Very good work! Thanks!
-
Thank you for this awesome framework.