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

校验提交的数组数据时的问题 #24

Open
joewongex opened this issue Dec 4, 2014 · 0 comments
Open

校验提交的数组数据时的问题 #24

joewongex opened this issue Dec 4, 2014 · 0 comments

Comments

@joewongex
Copy link

提交数组类型的数据到服务器,例如names[],没有在校验规则中添加required规则,而只是添加了一个min_length[3]的校验规则,如果提交的names[0]是一个空字符串,那么校验是不能通过的,提示字符长度至少需要三个字符。这和校验单个值的情况并不一致。

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