Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit 0759a54

Browse files
committed
Merge branch 'develop' of github.com:chakra-ui/chakra-ui-vue into develop
2 parents 68be74d + c2e3b2e commit 0759a54

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.changeset/healthy-clocks-train.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@chakra-ui/vue": patch
3+
"@chakra-ui/nuxt": patch
4+
---
5+
6+
fix(menu): update MenuOption defaultValue prop to inner value

packages/chakra-ui-core/src/CMenu/CMenuOption.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,11 +176,11 @@ const CMenuOptionGroup = {
176176
type: [String, Number],
177177
default: null
178178
},
179-
defaultValue: [String, Number]
179+
defaultValue: [String, Number, Array]
180180
},
181181
data () {
182182
return {
183-
innerValue: []
183+
innerValue: this.defaultValue || []
184184
}
185185
},
186186
computed: {

0 commit comments

Comments
 (0)