Skip to content

[Bug Report][3.2.4] Cryptic TS error when passing generic values to v-autocomplete/v-select #17383

@Hawxy

Description

@Hawxy

Environment

Vuetify Version: 3.2.4
Vue Version: 3.3.2
Browsers: Edge 113.0.1774.42
OS: Windows 10

Steps to reproduce

Create a wrapper around selection components that uses Vue 3.3 generics.

Expected Behavior

It works

Actual Behavior

V-Autocomplete: Type 'T | undefined' is not assignable to type 'Val$2<T, false> | null | undefined'.

V-Select: Type 'T' is not assignable to type 'Val<T, false> | null | undefined'

Reproduction Link

https://gist.github.com/Hawxy/d26740e2dd0e4c375f005badea107472

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions