Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Conversation

fabiocarneiro
Copy link
Contributor

Since the CollectionInputFilter class has a $isRequired option defaulted to false, we need to have a required index in the factory array, so we can force validation on that element. Otherwise, it will always ignore the collection and return valid.

@danizord
Copy link
Contributor

danizord commented Mar 6, 2014

👍

@weierophinney weierophinney added this to the 2.3.0 milestone Mar 7, 2014
@weierophinney weierophinney self-assigned this Mar 7, 2014
weierophinney added a commit that referenced this pull request Mar 7, 2014
…-input-filter-required

Fix for missing required option for CollectionInputFilter
weierophinney added a commit that referenced this pull request Mar 7, 2014
- Align operators
- Comma after last array element
weierophinney added a commit that referenced this pull request Mar 7, 2014
@weierophinney
Copy link
Member

Merged to develop for release with 2.3.0.

weierophinney added a commit to zendframework/zend-inputfilter that referenced this pull request May 15, 2015
…o/hotfix-factory-collection-input-filter-required

Fix for missing required option for CollectionInputFilter
weierophinney added a commit to zendframework/zend-inputfilter that referenced this pull request May 15, 2015
- Align operators
- Comma after last array element
weierophinney added a commit to zendframework/zend-inputfilter that referenced this pull request May 15, 2015
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants