Skip to content

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