So on the first place we can show the error on English like:
`Email name need to have at least a non free domain.`
We have a dispatch for change the language to show something like:
Παρακαλώ εισάγετε μια έγκυρη διεύθυνση ηλεκτρονικού ταχυδρομείου
So, the text on the validation error STILL shows the english phrase, becase the validation need to be triggered on the first place to change and get the new text.
We need a function to trigger all the validations on the language request, thats possible?
The Problem
Hi everyone,
We are working with 'react-redux-form', we have our own validations, might be 'fetch' for request info to an API or just simple regex.
Our problem is that we are fetching some languages con the app, so our erros for the validations are on the (state, props) of our component.
We actualy have a validation like this:
and the validation function works like this:
So on the first place we can show the error on English like:
`Email name need to have at least a non free domain
.`We have a dispatch for change the language to show something like:
Παρακαλώ εισάγετε μια έγκυρη διεύθυνση ηλεκτρονικού ταχυδρομείου
So, the text on the validation error STILL shows the english phrase, becase the validation need to be triggered on the first place to change and get the new text.
We need a function to trigger all the validations on the language request, thats possible?
Thanks in advance.