I worked with Vue2, but I recently try Vue 3.
I have simple problem:
<input ref="myinput" />
<button @click="submitData" />
I want to set "focus" on "myinput", inside function "submitData". In Vue 2 it is simple (this.$refs ...), but in Vue 3, they made it complicated. I saw example with "setup", but is no use for me + I think you can only access "value" from element.
Is there any way to execute "focus" on on element inside methods?