cern-sis / react-formule

User-friendly, extensible form builder for React based on JSON Schema and RJSF
https://cern-sis.github.io/react-formule/
MIT License
10 stars 4 forks source link

Form: remove labels from array items #15

Closed pamfilos closed 3 months ago

pamfilos commented 9 months ago

Since updating to RJSF5, array items have unnecessary labels (e.g. asd-0, asd-1). They seem to be coming from RJSF (see children in ArrayFieldTemplateItem). Check how to remove or hide them.

PR from CERN Analysis Preservation project: https://github.com/cernanalysispreservation/analysispreservation.cern.ch/pull/2841 https://github.com/cernanalysispreservation/analysispreservation.cern.ch/issues/2825

We should re-implement the logic here