\n\u003C/template>\n\n\u003Cscript setup>\nconst translationField = ref(null)\n\nfunction nextCard() {\n translationField.value.focus() // throws: 'focus is not a function'\n \n nextTick(() => {\n translationField.value.focus() // same error\n })\n\n // below works ok\n nextTick(() => {\n const input = translationField.value?.$el?.querySelector('input')\n if (input) {\n input.focus()\n }\n })\n}\n\u003C/script>\n```\n\n\n### Description\nStandard Vue method of using template ref (for setting a focus, here) throws: 'focus() is not a function'\nIn the above code snippet I included workaround (credits to Sonnet 3.5)\nTried it dozen of times and checked this place to see if it has not been solved earlier.\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell-script\n\n```",[3113,3114,3115],{"name":3023,"color":3024},{"name":3045,"color":3046},{"name":3116,"color":3117},"triage","ffffff",3644,"\u003CUInput> template ref does not work","2025-03-21T13:14:18Z","https://github.com/nuxt/ui/issues/3644",0.751307,{"description":3124,"labels":3125,"number":3129,"owner":3032,"repository":3032,"state":3072,"title":3130,"updated_at":3131,"url":3132,"score":3133},"https://nuxt.com/docs/guide/directory-structure/middleware#format\r\n\r\n\r\n\r\n\r\n\r\n",[3126],{"name":3127,"color":3128},"3.x","29bc7f",15632,"bug: docs `{` ","2023-01-19T18:19:54Z","https://github.com/nuxt/nuxt/issues/15632",0.75227827,{"description":3135,"labels":3136,"number":3138,"owner":3032,"repository":3071,"state":3072,"title":3139,"updated_at":3140,"url":3141,"score":3142},"A branch has been made to showcase the difference of output when opening a file in the editor: https://github.com/nuxtlabs/nuxt.com/commit/97cc718c717e5defb92d633851f31d750af4b2d3",[3137],{"name":3023,"color":3069},327,"Parser/Serializer of `@docus/editor` is not 1:1","2023-06-06T12:14:50Z","https://github.com/nuxt/nuxt.com/issues/327",0.75384986,["Reactive",3144],{},["Set"],["ShallowReactive",3147],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fnYRrqDRirKUsBlXzie6aUJ3KWBTrYsdA5qe5MOdAv_Q":-1},"/nuxt/scripts/345"]