ant-design / pro-components

🏆 Use Ant Design like a Pro!
https://pro-components.antdigital.dev
MIT License
4.29k stars 1.36k forks source link

🧐[问题]renderformitem返回自定义组件,form.values获取不到select搜集的数据, #8812

Open huangnan20030709 opened 1 hour ago

huangnan20030709 commented 1 hour ago

提问前先看看:

https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md

🧐 问题描述

在column的item里,为什么当把select直接放到renderformitem能收集到,但是renderformitem返回自定义组件,form.values获取不到select搜集的数据,

💻 示例代码

image

image

🚑 其他信息

github-actions[bot] commented 1 hour ago

以下的 Issues 可能会帮助到你 / The following issues may help you