New issue
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
[Bug Report] antdv5 FormDrawer.Extra和FormDrawer.Footer不起作用 #4090
Comments
zXuff
changed the title
[Bug Report] FormDrawer.Extra和FormDrawer.Footer不起作用
[Bug Report] antdv5 FormDrawer.Extra和FormDrawer.Footer不起作用
Feb 16, 2024
我也碰上了,本来代码好端端的,换到公司电脑拉下代码重新npm install后,就没有显示Extra或Footer了 Package"@formily/antd-v5": "^1.1.9", |
这库没人维护了吗? |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reproduction link
Steps to reproduce
`
FormDrawer(
{
title: '表单',
},
'1',
() => {
return (
<SchemaField
schema={{
type: 'object',
properties: {
grid: {
type: 'void',
'x-component': 'FormGrid',
'x-component-props': {
minColumns: 2,
maxColumns: 2,
columnGap: 32,
strictAutoFit: true,
},
properties: {
drawerA: {
type: 'string',
title: '输入框1',
'x-decorator': 'FormItem',
'x-component': 'Input',
required: true,
},
drawerB: {
type: 'string',
title: '输入框2',
'x-decorator': 'FormItem',
'x-component': 'Input',
},
drawerC: {
type: 'string',
title: '输入框3',
'x-decorator': 'FormItem',
'x-component': 'Input',
},
},
},
},
}}
/>
<FormDrawer.Footer>
<Submit
onSubmit={(values) => {
console.log(values, 'drawer');
}}
>
提交
</FormDrawer.Footer>
);
},
)
.open({
initialValues: {
drawerA: '123',
},
})
`
What is expected?
显示Extra或Footer
What is actually happening?
没有显示Extra或Footer
Package
@formily/[email protected]
The text was updated successfully, but these errors were encountered: