Skip to content
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

下拉选校验 #653

Open
xiaogangzzz opened this issue Nov 20, 2023 · 3 comments
Open

下拉选校验 #653

xiaogangzzz opened this issue Nov 20, 2023 · 3 comments

Comments

@xiaogangzzz
Copy link

下拉选 required 为 false,非必填;但在进行必填校验时 还是把require为flase的校验住了。使用的是api是
type validate = (callback:(...args:any[]) => void)=> void

@xiaogangzzz
Copy link
Author

这样进行校验的
fApi.validate((valid, fail) => {
if(valid){
//todo 表单验证通过
}else{
//todo 表单验证未通过
}
})

@xiaogangzzz
Copy link
Author

validate中的require=false的属性也进行拦截校验了

@xiaogangzzz
Copy link
Author

怎么解决呢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant