From a2b7940acc0ca1630ca19550fc6409858832867e Mon Sep 17 00:00:00 2001 From: David Whittaker <84562015+whitdog47@users.noreply.github.com> Date: Mon, 6 Nov 2023 18:35:34 -0800 Subject: [PATCH] Removing password element from plugin form (#3945) --- 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,