Open SquirrelDeveloper opened 2 months ago
Hi,
I i have interrogation about the ProDescriptions component. Does it support a formlist as a column element? My editor seems to say that I cannot specify the columns attribute in the columns configuration
columns
<ProDescriptions<Template> actionRef={actionRef} column={2} editable={{}} formProps={{ onValuesChange: (e, f) => console.log(f), }} request={async () => { return Promise.resolve({ success: true, data: props.template, }); }} columns={[ { title: 'Name', key: 'title', dataIndex: 'title', ellipsis: true, }, { title: 'Restart Policy', key: 'restart_policy', dataIndex: 'restart_policy', ellipsis: true, }, { title: 'Ports', dataIndex: 'ports', span: 2, valueType: 'formList', columns: [ { dataIndex: 'container', width: 'md', formItemProps: { rules: [{ required: true }] }, }, ], }, ]} />
Hi,
I i have interrogation about the ProDescriptions component. Does it support a formlist as a column element? My editor seems to say that I cannot specify the
columns
attribute in the columns configuration