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

Validator: method validatePattern() for UploadControl multiple #192

Merged
merged 5 commits into from
Sep 30, 2018
Merged

Validator: method validatePattern() for UploadControl multiple #192

merged 5 commits into from
Sep 30, 2018

Conversation

h4kuna
Copy link
Contributor

@h4kuna h4kuna commented Aug 29, 2018

The method validatePattern accepts $control where value can be array by UploadControl (multiple). If one file does not matched method return false.

I extend the test method because two classes MockUploadControl are not allowed.

@dg dg merged commit a2da720 into nette:master Sep 30, 2018
@dg
Copy link
Member

dg commented Sep 30, 2018

Thanks!

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

Successfully merging this pull request may close these issues.

Multiupload rule Form::PATTERN
3 participants