-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
Inputfilter getValues() returns the field which is not in input data #9
Comments
Related to zendframework/zendframework#7440 Originally posted by @Maks3w at zendframework/zend-inputfilter#66 (comment) |
One possible option is to add an argument to Originally posted by @Maks3w at zendframework/zend-inputfilter#66 (comment) |
Another option is add a new method for return only the fields with data (method name is more expressive rather than arguments values). Originally posted by @Maks3w at zendframework/zend-inputfilter#66 (comment) |
That would not stop input filter to do filtering of the input which is not set. The new method would just do one more filtering of unset data. Originally posted by @metanav at zendframework/zend-inputfilter#66 (comment) |
Expected Output:
Unexpected (or it is intentional?) Output:
Originally posted by @metanav at zendframework/zend-inputfilter#66
The text was updated successfully, but these errors were encountered: