In :</p> <p>const loginFormUsername = ref(null)</p> <p>I have an input:</p> <p><input ref="loginFormUsername" v-model="login.form.username" @input="watchUsernameInput" /></p> <p>When I attempt to use "loginFormUsername.focus()" I get the "loginFormUsername.focus is not a function"</p> <p>I've tried:</p> <ul> <li>using loginFormUsername.focus() // the above error</li> <li>using loginFormUsername.value.focus() // nothing happens</li> <li>using vueuse/core focus functions // nothing happens</li> </ul> <p>Any help is appreciated.</p>
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)