cernanalysispreservation/analysispreservation.cern.ch

ui: drafts - pass custom `transformErrors` function to form after formule removal

Opened this issue · 1 comments

for with-formule branch:

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).

Similar #2688