alibaba/formily

[Bug Report] antdv5 FormDrawer.Extra和FormDrawer.Footer不起作用

Opened this issue · 3 comments

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Edit on CodeSandbox

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/antd-v5@2.3.1


我也碰上了,本来代码好端端的,换到公司电脑拉下代码重新npm install后,就没有显示Extra或Footer了

Package

"@formily/antd-v5": "^1.1.9",

这库没人维护了吗?

这库没人维护了吗?
应该是,我给库提了pull request, 过了很久状态也没有更新,不采用也不拒绝。formilyjs/antd#36