If you have <q-input ref=“myInput”/>
then this.$refs.myInput.focus() should work.