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
我想要在自定义校验,value为空的时候,定制必填文案,
并且我觉得 setValidateLanguage('zh-CN')
registerValidateLocale({ 'zh-CN': { required: '定制的必填校验文案', }, }) 麻烦了
而且为空的必填文案,说不定也是动态根据表单的某一个值生成的!
我的意思是只要我设置了自定义校验函数,那么任何触发条件,都会执行这个函数
我期望自定义校验时候,value为空也是会走自定义校验函数,并且优先级最高
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
What problem does this feature solve?
我想要在自定义校验,value为空的时候,定制必填文案,
并且我觉得
setValidateLanguage('zh-CN')
registerValidateLocale({
'zh-CN': {
required: '定制的必填校验文案',
},
})
麻烦了
而且为空的必填文案,说不定也是动态根据表单的某一个值生成的!
我的意思是只要我设置了自定义校验函数,那么任何触发条件,都会执行这个函数
What does the proposed API look like?
我期望自定义校验时候,value为空也是会走自定义校验函数,并且优先级最高
The text was updated successfully, but these errors were encountered: