We have removed the transformErrors prop passing on react-formule and from now everyone has to go add his own custom transformErrors
Lets copy the legacy functionality to the CAP side
Add also some information in Formule's readme about how to pass a transformErrors for example to avoid validation messages for required fields in admin (or maybe even provide a default or an easy to change prop for the required fields case).
for
with-formule
branch:We have removed the
transformErrors
prop passing onreact-formule
and from now everyone has to go add his own customtransformErrors
Lets copy the legacy functionality to the CAP side
Add also some information in Formule's readme about how to pass a transformErrors for example to avoid validation messages for required fields in admin (or maybe even provide a default or an easy to change prop for the required fields case).