Skip to content

Commit

Permalink
Merge branch 'master' into bugfix/timeline-time-not-saving
Browse files Browse the repository at this point in the history
  • Loading branch information
whitdog47 authored Nov 7, 2023
2 parents e568810 + a2b7940 commit 162ffa6
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/dispatch/static/dispatch/src/plugin/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 162ffa6

Please sign in to comment.