Skip to content

Commit

Permalink
fix(VItemGroup): return proper selected values when value is undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
johnleider committed Mar 4, 2019
1 parent deb3e3d commit 054edba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/vuetify/src/components/VItemGroup/VItemGroup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ export const BaseItemGroup = mixins(
})
},
selectedValues (): any[] {
if (this.internalValue == null) return []

return Array.isArray(this.internalValue)
? this.internalValue
: [this.internalValue]
Expand Down

0 comments on commit 054edba

Please sign in to comment.