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

uni-forms组件使用rules进行校验时, rules里部分字段不生效 #932

Open
ZZH-Finalize opened this issue Jul 29, 2024 · 3 comments

Comments

@ZZH-Finalize
Copy link

image
上图中, minimum和maximum两个校验都是不生效的
可以看到, 值为0, 也还是通过了校验, 0是通过uni-easy-input组件输入的
image

@ZZH-Finalize
Copy link
Author

更新新版uni-ui之后解决了

@ZZH-Finalize
Copy link
Author

还是有问题, format字段不设置的话, 无论输入什么内容都通不过minimum或者maximum的校验, format设置为'number'的话, 校验完全没用, 什么东西都能通过校验

@ZZH-Finalize ZZH-Finalize reopened this Jul 30, 2024
@GRCmade
Copy link
Contributor

GRCmade commented Aug 28, 2024

你好,提供一下你的代码

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

2 participants