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
vue : 3.0.0 element-plus:1.0.2
code:
function renderFrom(h) {
const { formConfCopy } = this; return ( <el-row gutter={formConfCopy.gutter}> <el-form size={formConfCopy.size} label-position={formConfCopy.labelPosition} disabled={formConfCopy.disabled} label-width={`${formConfCopy.labelWidth}px`} ref={formConfCopy.formRef} props={{ model: this[formConfCopy.formModel] }} rules={this[formConfCopy.formRules]} > {renderFormItem.call(this, h, formConfCopy.fields)} {formConfCopy.formBtns && formBtns.call(this, h)} </el-form> </el-row> );
}
props={{ model: this[formConfCopy.formModel] }} It doesn't work
just warning [Element Warn][Form]model is required for validate to work!
The text was updated successfully, but these errors were encountered:
It seems that you should set props by spread operator like this
<el-form {...{ props: { model: this[formConfCopy.formModel], }, }} > ... </el-form>
Sorry, something went wrong.
No branches or pull requests
vue : 3.0.0
element-plus:1.0.2
code:
function renderFrom(h) {
}
props={{ model: this[formConfCopy.formModel] }} It doesn't work
just warning
[Element Warn][Form]model is required for validate to work!
The text was updated successfully, but these errors were encountered: