From 7223bb81ea12dc898b9e7eb39d240b7b8490881c Mon Sep 17 00:00:00 2001 From: David Whittaker Date: Mon, 6 Nov 2023 11:11:41 -0800 Subject: [PATCH] Removing password element from plugin form --- src/dispatch/static/dispatch/src/plugin/store.js | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/dispatch/static/dispatch/src/plugin/store.js b/src/dispatch/static/dispatch/src/plugin/store.js index 14f0bb73c8ef..3721d72123d6 100644 --- a/src/dispatch/static/dispatch/src/plugin/store.js +++ b/src/dispatch/static/dispatch/src/plugin/store.js @@ -165,15 +165,7 @@ function convertToFormkit(json_schema) { formkit_schema.push(title) for (const [key, value] of Object.entries(json_schema.properties)) { var obj = {} - if (value.format == "password") { - obj = { - $formkit: "password", - name: key, - label: value.title, - help: value.description, - validation: "required", - } - } else if (value.type == "string") { + if (value.type == "string" || value.type == "password") { obj = { $formkit: "text", name: key,