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
` 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', }, })
`
显示Extra或Footer
没有显示Extra或Footer
@formily/[email protected]
The text was updated successfully, but these errors were encountered:
我也碰上了,本来代码好端端的,换到公司电脑拉下代码重新npm install后,就没有显示Extra或Footer了
"@formily/antd-v5": "^1.1.9",
Sorry, something went wrong.
这库没人维护了吗?
这库没人维护了吗? 应该是,我给库提了pull request, 过了很久状态也没有更新,不采用也不拒绝。formilyjs/antd#36
No branches or pull requests
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: