[Bug Report][3.0.0-beta.13] VList
event update:selected
data typed as array of string no matter the item value type
#15873
Labels
C: VList
VList
E: group
Group composable
T: bug
Functionality that does not work as intended/expected
typescript
Milestone
Environment
Vuetify Version: 3.0.0-beta.13
Last working version: 2.6.6
Vue Version: 3.2.40
Browsers: Firefox 91.0
OS: Linux x86_64
Steps to reproduce
As in the title, even if a custom value is used for selected items, the expected event data is an array of string. This typing is defined here.
For example,
In Vuetify 2,
v-list-item-group
typed the data asany[]
. Note also that theselected
prop appears to takeany[]
(needs verification).Maybe if the goal was to improve upon
any
, could a generic somehow be used here? Either way,any
is better thanstring
here.Expected Behavior
No type error
Actual Behavior
Type error (still works)
The text was updated successfully, but these errors were encountered: