We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
undefined
2
https://vue.ant.design/components/form-cn/#components-form-demo-customized-form-controls
这里不需要纠结于怎么复现,这里是纯粹的语法问题,因为一个报错,然后读源码然后发现这里写错了
把initialValue 用引号引起来就可以了
我在v-decorator中写了initialValue,依然会报错, [Vue warn]: Error in render: "ReferenceError: initialValue is not defined"
这里不重要,在/components/vc-form/src/createBaseForm.jsx 第207行 原写法:!(fieldOption && initialValue in fieldOption) 应该写成 !(fieldOption && 'initialValue' in fieldOption)
这里会报错 [Vue warn]: Error in render: "ReferenceError: initialValue is not defined"
The text was updated successfully, but these errors were encountered:
fix: form initialValue is not defined #1291
35a65bc
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Sorry, something went wrong.
No branches or pull requests
Version
undefined
Environment
2
Reproduction link
https://vue.ant.design/components/form-cn/#components-form-demo-customized-form-controls
Steps to reproduce
这里不需要纠结于怎么复现,这里是纯粹的语法问题,因为一个报错,然后读源码然后发现这里写错了
What is expected?
把initialValue 用引号引起来就可以了
What is actually happening?
我在v-decorator中写了initialValue,依然会报错, [Vue warn]: Error in render: "ReferenceError: initialValue is not defined"
这里不重要,在/components/vc-form/src/createBaseForm.jsx 第207行
原写法:!(fieldOption && initialValue in fieldOption)
应该写成 !(fieldOption && 'initialValue' in fieldOption)
这里会报错 [Vue warn]: Error in render: "ReferenceError: initialValue is not defined"
The text was updated successfully, but these errors were encountered: