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

ui: update Form component "transformError" component

Open pamfilos opened this issue 2 years ago • 0 comments

Bug report

What is the current behavior? Right now we pass a transformErrors function to the RJSF Form component which updates the error object (e.g. for drafts we remove "require field" error to allow saving even when no required fields are there, etc )

We should only pass the transformError function we have already for draft editor only, and make possible to pass as prop in the /forms/Form.js component

pamfilos avatar Nov 15 '22 16:11 pamfilos