You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't get any type hints for focus. In fact, I get an error:
searchFieldRef.value?.focus()/**Property 'focus' does not exist on type '{ $: ComponentInternalInstance; $data: {}; $props: Partial<{ flat: boolean; reverse: boolean; type: string; error: boolean; active: boolean; direction: "horizontal" | "vertical"; ... 19 more ...; persistentCounter: boolean; }> & Omit<...>; ... 10 more ...; $watch<T extends string | ((...args: any) => any)>(source: T...'. Did you mean 'focused'?ts(2551)index.d.ts(51767, 9): 'focused' is declared here.*/
Proposed solution
Add the focus prop for VTextField (obviously extrapolate and make it so that all the Vuetify components that extend HTML elements also have those specific elements' props in their types lol).
The text was updated successfully, but these errors were encountered:
Problem to solve
If I make a ref as such:
I don't get any type hints for
focus
. In fact, I get an error:Proposed solution
Add the
focus
prop for VTextField (obviously extrapolate and make it so that all the Vuetify components that extend HTML elements also have those specific elements' props in their types lol).The text was updated successfully, but these errors were encountered: