-
Notifications
You must be signed in to change notification settings - Fork 87
Missing input types search and tel #57
Missing input types search and tel #57
Conversation
'required' => true, | ||
'filters' => [ | ||
['name' => StringTrim::class], | ||
['name' => StripNewlines::class], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With this in place, your RegexValidator
is essentially moot...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it? What if someone removes this filter? They probably still want the validation to work..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If they set their own input filter, they won't get that validator anyways...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, I mean if they change the filters on the input filter.
* Zend Framework (http://framework.zend.com/) | ||
* | ||
* @link http://github.com/zendframework/zf2 for the canonical source repository | ||
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2016
Missing input types search and tel
Merged to develop for release with 2.9.0. |
No description provided.