Skip to content

Commit 35a65bc

Browse files
committed
fix: form initialValue is not defined #1291
1 parent b665679 commit 35a65bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/vc-form/src/createBaseForm.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ function createBaseForm(option = {}, mixins = []) {
204204
!(
205205
!slotHasProp(fieldElem, valuePropName) &&
206206
valuePropName in originalProps &&
207-
!(fieldOption && initialValue in fieldOption)
207+
!(fieldOption && 'initialValue' in fieldOption)
208208
),
209209
`${getComponentName(
210210
fieldElem.componentOptions,

0 commit comments

Comments
 (0)