Merge branch 'hotfix/4808'

Close #4808
Little fix in InputFilter/Factory

Hi there!

We can now add error_message option to Input without fallback which caused problems with validation final result.
[#4838] Added test

- Added test to ensure that change works
Merge branch 'hotfix/4838' into develop

Forward port #4838