diff --git a/ui/src/containers/GphlWorkflowParametersDialog.jsx b/ui/src/containers/GphlWorkflowParametersDialog.jsx
index 025ef611d..cb37fb60a 100644
--- a/ui/src/containers/GphlWorkflowParametersDialog.jsx
+++ b/ui/src/containers/GphlWorkflowParametersDialog.jsx
@@ -251,13 +251,44 @@ function GphlWorkflowParametersDialog(props) {
} mb-5`}
>
- {ui_schema[rowKey]['ui:title'] ||
- schema.properties.indexing_solution?.title ||
- null}
+ {rowKey === 'reffiles'
+ ? schema.properties.reffiles?.title
+ : rowKey === 'indexing_solution'
+ ? schema.properties.indexing_solution?.title
+ : ui_schema[rowKey]['ui:title']}
- {ui_schema[rowKey]['ui:order'] ? (
- ui_schema[rowKey]['ui:order'].map((ColKey) => (
+ {rowKey === 'indexing_solution' ? (
+ ui_schema[rowKey]['ui:widget']?.includes('table') &&
+ renderIndexingTable(
+ ui_schema[rowKey][uiOptions],
+ selected,
+ onSelectRow,
+ )
+ ) : rowKey === 'reffiles' ? (
+ // Specific textarea for "reffiles"
+ schema.properties.reffiles.type === 'textarea' && (
+ handleChange(e)}
+ data-highlight={
+ schema.properties.reffiles.highlight || undefined
+ }
+ type={schema.properties.reffiles.type}
+ as="textarea"
+ required
+ defaultValue={formState.reffiles}
+ readOnly={schema.properties.reffiles.readOnly}
+ disabled={schema.properties.reffiles.readOnly}
+ />
+ )
+ ) : rowKey === '_info' ? (
+
+ {schema.properties[rowKey].default}
+
+ ) : (
+ ui_schema[rowKey]['ui:order']?.map((ColKey) => (
{ui_schema[rowKey][ColKey]['ui:order'].map(
(fieldKey) => (
@@ -301,6 +332,27 @@ function GphlWorkflowParametersDialog(props) {
),
)}
+ ) : // Generic any other textarea
+ schema.properties[fieldKey].type ===
+ 'textarea' ? (
+ handleChange(e)}
+ data-highlight={
+ schema.properties[fieldKey].highlight ||
+ undefined
+ }
+ type={schema.properties[fieldKey].type}
+ as="textarea"
+ defaultValue={formState[fieldKey]}
+ readOnly={
+ schema.properties[fieldKey].readOnly
+ }
+ disabled={
+ schema.properties[fieldKey].readOnly
+ }
+ />
) : (
))
- ) : ui_schema[rowKey]['ui:widget'] ? (
- ui_schema[rowKey]['ui:widget'].includes('table') ? (
- renderIndexingTable(
- ui_schema[rowKey][uiOptions],
- selected,
- onSelectRow,
- )
- ) : null
- ) : (
-
- {schema.properties[rowKey].default}
-
)}