Default form elements filters overriden #282

mpalourdio opened this Issue Oct 23, 2013 · 1 comment


None yet

1 participant


For a date field for example, when the 'filter' annotation isn't provided, a custom filter is given to the element, overriding the element's default one from the \Zend\Form\Element, what is unexpected imo.

if we delete 'case:date' in the switch, it still doesn't work because of that set an empty arrayobject(), what causes the createForm method() to override the Element default filter by no more filter at all.


Just wanted to point that from zf2.2.5/2.3, the date filters are in sync zendframework/zendframework#5343 , but maybe still no need to override them.

@mpalourdio mpalourdio closed this Feb 10, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment