-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
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
🐛[BUG] validateTrigger="onBlur" validation not working #8380
Comments
以下的 Issues 可能会帮助到你 / The following issues may help you
|
validateTrigger 为 onBlur没生效的原因找到了。因为源码中有一个WithValueFomFiledProps组件分隔了form.item和表单组件间的props传递。其中有一个判断 |
重新看了一下就是onBlur没有传进去,跟isProFormComponent无关。 就是restProps中没有onBlur了,所以没有透传给proformItem下的组件 |
在使用 2.7 版本的时候,发现是可以的 |
I tried to apply a validateTrigger="onBlur" on a ProForm.Item but the validation doesn't seems working, I'm using it on a stepForm
The text was updated successfully, but these errors were encountered: