From 2767bac00df31f0e905af089ee909d2f480a1f72 Mon Sep 17 00:00:00 2001 From: Dustin Ryerson Date: Thu, 2 May 2024 17:08:01 -0600 Subject: [PATCH] fix(entities-plugins): fix rsa pbu key input type --- .../entities-plugins/src/components/PluginForm.vue | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/entities/entities-plugins/src/components/PluginForm.vue b/packages/entities/entities-plugins/src/components/PluginForm.vue index 90743e0f8e..8723bf696b 100644 --- a/packages/entities/entities-plugins/src/components/PluginForm.vue +++ b/packages/entities/entities-plugins/src/components/PluginForm.vue @@ -523,6 +523,10 @@ const buildFormSchema = (parentKey: string, response: Record, initi } } + if (scheme.type === 'textArea') { + initialFormSchema[field].type = 'textArea' + } + // map -> object-advanced if (scheme.type === 'map') { initialFormSchema[field].type = 'object-advanced' @@ -697,6 +701,10 @@ const buildFormSchema = (parentKey: string, response: Record, 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