In a remote validation, is there a way to display the error code sent in errors.rejectedValue in the client?
If I have a custom constraint, and I don't return a boolean value but return errors.rejectValue('field','errorCode'), the plugin won't validate that field.
In a remote validation, is there a way to display the error code sent in errors.rejectedValue in the client? If I have a custom constraint, and I don't return a boolean value but return errors.rejectValue('field','errorCode'), the plugin won't validate that field.