cernanalysispreservation / analysispreservation.cern.ch

Source code for the CERN Analysis Preservation portal
https://analysispreservation.cern.ch/
GNU General Public License v3.0
42 stars 30 forks source link

ui: add option in builder to provide a string template for array item names #2854

Closed miguelgrc closed 7 months ago

miguelgrc commented 1 year ago

Right now, there's the option to provide (manually editing the schema) a pattern to set the titles of the array items based on the selected content of each item (see stringify and stringifyTmpl in the schemas). It would be nice to have an option in the form builder for users to specify this pattern (optionally with some help, i.e. when they input {{ they get path suggestions, getting inspiration from the SchemaPathSuggester).

Extra considerations:

miguelgrc commented 7 months ago

Moved to formule: https://github.com/cern-sis/react-formule/issues/24