diff --git a/SAS/TMSS/frontend/tmss_webapp/src/components/JSONEditor/JEditor.js b/SAS/TMSS/frontend/tmss_webapp/src/components/JSONEditor/JEditor.js index cddaff0be898434c6e04d2e86895b40b1fafc506..697cddebebd8a594eea8a03c6025e511e53fb2ea 100644 --- a/SAS/TMSS/frontend/tmss_webapp/src/components/JSONEditor/JEditor.js +++ b/SAS/TMSS/frontend/tmss_webapp/src/components/JSONEditor/JEditor.js @@ -379,8 +379,6 @@ function Jeditor(props) { schema: schema, theme: 'bootstrap4', iconlib: 'fontawesome5', - // theme: 'tailwind', - // iconlib: 'spectre', display_required_only: false, remove_button_labels: true, disable_edit_json: true, @@ -390,6 +388,7 @@ function Jeditor(props) { show_errors: props.errorsOn ? props.errorsOn : 'change', // Can be 'interaction', 'change', 'always', 'never' compact: true, ajax: true, + object_layout: props.showInGrid?"grid":"normal" }; // Set Initial value to the editor