UtrechtUniversity / yoda

A system for reliable, long-term storing and archiving large amounts of research data during all stages of a study.
https://utrechtuniversity.github.io/yoda/
GNU General Public License v3.0
44 stars 26 forks source link

[FEATURE] Support for checkboxes in the metadata forms #340

Open SjoerdManger opened 7 months ago

SjoerdManger commented 7 months ago

We, at Amsterdam UMC, would like to use checkboxes in our metadata forms. However, right now the titles of said checkboxes aren't displayed in the metadata forms in Yoda. We would like to see this fixed so we can implement checkboxes.

The current situation ("Data Type" and "Subject Type" missing as title"): metadata current situation

The desired situation: metadata desired display

A code snippet of our JSON form:

"definition_datatype": {
         "type": "object","definition_datatype": {
         "type": "object",
         "title": "Data Type",
         "properties": {
            "i Biological samples": {
               "type": "boolean",
               "title": "i Biological samples",
               "default": false
            },
            "ii Genetic / omics data": {
               "type": "boolean",
               "title": "ii Genetic / omics data",
               "default": false
            },
            "iii Imaging data": {
               "type": "boolean",
               "title": "iii Imaging data",
               "default": false
            },
            "iv Qualitative data and quantitative questionnaires": {
               "type": "boolean",
               "title": "iv Qualitative data and quantitative questionnaires",
               "default": false
            },
            "v Physiological data": {
               "type": "boolean",
               "title": "v Physiological data",
               "default": false
            },
            "vi Synthetic data": {
               "type": "boolean",
               "title": "vi Synthetic data",
               "default": false
            }
         }
      }

and

"datatype": {
         "$ref": "#/definitions/definition_datatype",
         "title": "Data Type"
      }
RobvanSchip commented 1 month ago

Thank you for the feature request. We have registered it in our product backlog as ticket nr. YDA-5804