Skip to content

Commit

Permalink
fix(entities-plugins): fix rsa pbu key input type
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinryerson committed May 2, 2024
1 parent e127061 commit 2767bac
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,10 @@ const buildFormSchema = (parentKey: string, response: Record<string, any>, initi
}
}
if (scheme.type === 'textArea') {
initialFormSchema[field].type = 'textArea'
}
// map -> object-advanced
if (scheme.type === 'map') {
initialFormSchema[field].type = 'object-advanced'
Expand Down Expand Up @@ -697,6 +701,10 @@ const buildFormSchema = (parentKey: string, response: Record<string, any>, initi
}
}
if (scheme.type === 'textArea') {
initialFormSchema[field].type = 'textArea'
}
// required fields, if it's boolean (a checkbox) it will be marked as required even though it isn't
if (scheme.required && scheme.type !== 'boolean') {
initialFormSchema[field].required = true
Expand Down

0 comments on commit 2767bac

Please sign in to comment.