Skip to content

关于 ValidateForm 对同名属性不同对象的验证问题 #5957

Answered by ArgoZhang
gitapteryx asked this question in Q&A
Discussion options

You must be logged in to vote

@gitapteryx 代码跟设计上都有问题,打字很难解释清楚,建议挂上源码调试一下。先把整个流程理顺一次。

建议

三个相同类型的属性使用自定义验证标签即可解决问题

感谢提交 Issue 并且给了例子,建议例子给 SSR 模式的

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ArgoZhang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Question that needs to be answered
2 participants
Converted from issue

This discussion was converted from issue #5956 on May 04, 2025 02:35.