cernanalysispreservation / analysispreservation.cern.ch

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

Form Builder: css grid Columns #2045

Closed papadopan closed 3 years ago

papadopan commented 3 years ago

Bug report

What is the current behavior? Most of the objects which DnD in the schemaWizard, they do not need the UI updates for the gridColumns, therefore it can be investigates in which occasions these rules should apply

If the current behavior is a bug, please provide the steps to reproduce.

What is the expected behavior?

Other relevant information:

Python version: PIP version: Node.js version: NPM/Yarn version Operating System: Additional tools:

papadopan commented 3 years ago

In general, in order to update the css gridColumns and customize it the parent of the customizable field should have css properties to be displayed as grid, and also a grid template. The current ready versions are not able to have this since the TabField does not provide any of these properties. If the root is a simple JSON Object then it is possible to customize the root object css properties