You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using an inputSpecification using required=true we could use a notEmpty validator in the chain to set our custom error message when the input was not set:
InputFilter would then use this validator to get the error message. But now Zend\InputFilter\Input uses prepareRequiredValidationFailureMessage() the default NotEmpty::IS_EMPTY message without any option to customize this.
There is a pull request open to fix this zendframework/zend-inputfilter#73 but it is not merged yet while other solutions are discussed...
The text was updated successfully, but these errors were encountered:
When using an inputSpecification using required=true we could use a notEmpty validator in the chain to set our custom error message when the input was not set:
InputFilter would then use this validator to get the error message. But now Zend\InputFilter\Input uses prepareRequiredValidationFailureMessage() the default NotEmpty::IS_EMPTY message without any option to customize this.
There is a pull request open to fix this zendframework/zend-inputfilter#73 but it is not merged yet while other solutions are discussed...
The text was updated successfully, but these errors were encountered: