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
提问前先看看:
https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md
目前在title部分只暴露了props,type,dom 同时在formItemProps 也没有地方能拿到当前formlist的index
用复现的代码可以查看
目前的效果是
希望能在label前面加上index,能否有地方得到下面的效果
const columns = [ { valueType: 'formList', dataIndex: 'flowNodeApplyReqList', fieldProps: { alwaysShowItemLabel: true, creatorButtonProps: { creatorButtonText: '增加一行', }, }, columns: [ { title: '', valueType: 'group', rowProps: { wrap: false, justify: 'space-between', }, columns: [ { title: (props, type, dom) => { console.log('props,type,dom', props, type, dom); return <div>院区名称</div>; }, dataIndex: 'displayName', // formItemProps: (...rest) => { // console.log('form', rest); // return { // label: 'test', // }; // }, colProps: { span: 12, }, }, { title: '院区名称', dataIndex: 'applicationCode', params: {}, colProps: { span: 12, }, }, ], }, ], }, ] <BetaSchemaForm columns={columns} />
The text was updated successfully, but these errors were encountered:
遇到了类似的问题,目前看来BetaSchemaForm对formList的支持不是很好,只能自己renderFormItem来控制当前行的数据
Sorry, something went wrong.
No branches or pull requests
提问前先看看:
https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md
🐛 bug 描述
目前在title部分只暴露了props,type,dom 同时在formItemProps 也没有地方能拿到当前formlist的index
📷 复现步骤
用复现的代码可以查看
🏞 期望结果
目前的效果是
希望能在label前面加上index,能否有地方得到下面的效果
💻 复现代码
© 版本信息
🚑 其他信息
The text was updated successfully, but these errors were encountered: