Loading src/components/panelLeft.vue +58 −55 Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ </tabContent> <tabContent v-for="plugin in plugins" :key="plugin.id" :id="plugin.id" :requireConnection="plugin.requiresConnection" :currentTab="currentTab"> <JsonForm :schema="plugin.schema"/> <JsonForm v-for="form in plugin.forms" :key="form.route" :route="form.route" :schema="form.schema"/> </tabContent> </div> Loading Loading @@ -79,6 +79,9 @@ export default { id: 'test-plugin', icon: 'code', requireConnection: false, forms: [ { route: "/test/foo", schema: [ { fieldType: "htmlBlock", Loading @@ -96,8 +99,7 @@ export default { fieldType: "textInput", placeholder: "Name", label: "Name", name: "name", value: "Squidward" name: "name" }, { fieldType: "numberInput", Loading @@ -124,19 +126,20 @@ export default { fieldType: "radioList", name: "coolness", label: "Coolness", options: ["None", "Some", "Very"], value: "Some" options: ["None", "Some", "Very"] }, { fieldType: "checkList", name: "ingredients", label: "Ingredients", options: ["Pork", "Pie"], value: ["Pork"] options: ["Pork", "Pie"] }, ] } ] } ] } }, Loading Loading
src/components/panelLeft.vue +58 −55 Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ </tabContent> <tabContent v-for="plugin in plugins" :key="plugin.id" :id="plugin.id" :requireConnection="plugin.requiresConnection" :currentTab="currentTab"> <JsonForm :schema="plugin.schema"/> <JsonForm v-for="form in plugin.forms" :key="form.route" :route="form.route" :schema="form.schema"/> </tabContent> </div> Loading Loading @@ -79,6 +79,9 @@ export default { id: 'test-plugin', icon: 'code', requireConnection: false, forms: [ { route: "/test/foo", schema: [ { fieldType: "htmlBlock", Loading @@ -96,8 +99,7 @@ export default { fieldType: "textInput", placeholder: "Name", label: "Name", name: "name", value: "Squidward" name: "name" }, { fieldType: "numberInput", Loading @@ -124,19 +126,20 @@ export default { fieldType: "radioList", name: "coolness", label: "Coolness", options: ["None", "Some", "Very"], value: "Some" options: ["None", "Some", "Very"] }, { fieldType: "checkList", name: "ingredients", label: "Ingredients", options: ["Pork", "Pie"], value: ["Pork"] options: ["Pork", "Pie"] }, ] } ] } ] } }, Loading