analysispreservation.cern.ch
analysispreservation.cern.ch copied to clipboard
ui: update Form component "transformError" component
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