How to use $refs with Composition API and Typescript?
I have a QInput with ref=“email”, but with Composition API context.root.$refs it’s empty. I can access some properties declaring const email = ref(), and i can access values throug email.value.whatever, but can’t call functions like email.value.validate().
How can do that?
Maybe this helps you: https://markus.oberlehner.net/blog/refs-and-the-vue-3-composition-api/