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,