ant-design-vue
ant-design-vue copied to clipboard
useForm能否支持数组的表单项校验
trafficstars
- [ ] I have searched the issues of this repository and believe that this is not a duplicate.
What problem does this feature solve?
实际开发中,表单元素嵌套很常见,官网提供了 “复杂的动态增减表单项”,希望useForm方式也能支持
What does the proposed API look like?
个人也没想好,目前想到的是修改 modelRef 的解构, 看了useForm的获取,好像 只对对象的嵌套进行了处理,不能满足嵌套数组的校验