Open metanav opened 9 years ago
One possible option is to add an argument to getValues()
for to return all inputs or only the inputs with data set.
Another option is add a new method for return only the fields with data (method name is more expressive rather than arguments values).
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.
This repository has been closed and moved to laminas/laminas-inputfilter; a new issue has been opened at https://github.com/laminas/laminas-inputfilter/issues/9.
Expected Output:
Unexpected (or it is intentional?) Output: