Skip to content

Commit 74bb8e1

Browse files
committed
fix: #21
1 parent 8191b2c commit 74bb8e1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Component.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ export default defineComponent({
5050
const preventOnChange = ref(false)
5151

5252
const initialMode = conclude([props.mode, globalProps.mode])
53-
const initialValue = conclude([props[modelValueProp], globalProps[modelValueProp]])
53+
const initialValue = conclude([props[modelValueProp], globalProps[modelValueProp]], {
54+
camelCase: false,
55+
})
5456
const initialBoolAttrs = Object.fromEntries(Array.from(boolAttrs, boolAttr =>
5557
[boolAttr, conclude([props[boolAttr], globalProps[boolAttr]])])
5658
.filter(([, v]) => v !== undefined))

0 commit comments

Comments
 (0)