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
我编辑商品编码的时候,想要设置商品名称的值,目前我发现setRowData是不生效的 { title: '商品编码', dataIndex: 'mateSku', width: 120, align:"center", fieldProps: (form, config) => { return { options: goodsList, onChange:(val)=>{ editorFormRef.current?.setRowData?.(config.rowIndex,{ mateSkuName:123123 }) }, } } }, { title: (
"@ant-design/pro-components": "^2.3.57", "antd": "^5.6.3",
The text was updated successfully, but these errors were encountered:
当前 Issue 未检测到标题,请规范填写,谢谢!
The title of the current issue is not detected, please fill in according to the specifications, thank you!
Sorry, something went wrong.
没有解决,为什么关闭呢?
没有解决,为什么关闭呢? 我一共发了两个可能重复了吧
No branches or pull requests
🐛 bug 描述
我编辑商品编码的时候,想要设置商品名称的值,目前我发现setRowData是不生效的
{
title: '商品编码',
dataIndex: 'mateSku',
width: 120,
align:"center",
fieldProps: (form, config) => {
return {
options: goodsList,
onChange:(val)=>{
editorFormRef.current?.setRowData?.(config.rowIndex,{
mateSkuName:123123
})
},
}
}
},
{
title: (
),
dataIndex: 'mateSkuName',
width: 200,
align:"center",
formItemProps: () => {
return {
rules: [{required: true, message: '此项为必填项'}],
};
},
},
🏞 期望结果 | Expected results
💻 复现代码 | Recurrence code
© 版本信息
"@ant-design/pro-components": "^2.3.57",
"antd": "^5.6.3",
🚑 其他信息
The text was updated successfully, but these errors were encountered: