Skip to content

Commit 9734ec0

Browse files
committed
fix: form warning #1076
1 parent 259f16b commit 9734ec0

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
@@ -193,7 +193,7 @@ function createBaseForm(option = {}, mixins = []) {
193193
!(
194194
!slotHasProp(fieldElem, valuePropName) &&
195195
valuePropName in originalProps &&
196-
!(fieldOption && fieldOption.initialValue)
196+
!(fieldOption && initialValue in fieldOption)
197197
),
198198
`${getComponentName(
199199
fieldElem.componentOptions,

0 commit comments

Comments
 (0)