analysispreservation.cern.ch icon indicating copy to clipboard operation
analysispreservation.cern.ch copied to clipboard

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

Open pamfilos opened this issue 1 year ago • 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).

pamfilos avatar May 08 '24 09:05 pamfilos

Similar #2688

pamfilos avatar May 24 '24 12:05 pamfilos