File tree Expand file tree Collapse file tree
client/src/components/Form Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -163,9 +163,7 @@ const isHidden = computed(() => attrs.value["hidden"]);
163163const elementId = computed (() => ` form-element-${props .id } ` );
164164const hasAlert = computed (() => alerts .value .length > 0 );
165165const showPreview = computed (() => (collapsed .value && attrs .value [" collapsible_preview" ]) || props .disabled );
166- const showField = computed (
167- () => ! collapsed .value && ! props .disabled && (! props .workflowRun || props .type !== " boolean" )
168- );
166+ const showField = computed (() => ! collapsed .value && ! props .disabled );
169167const formDataField = computed (() =>
170168 props .type && [" data" , " data_collection" ].includes (props .type ) ? (props .type as " data" | " data_collection" ) : null
171169);
@@ -333,9 +331,6 @@ function onAlert(value: string | undefined) {
333331 :is-empty =" isEmpty"
334332 :is-optional =" isOptional"
335333 :extensions =" attrs.extensions" >
336- <template v-slot :form-element >
337- <FormBoolean v-if =" props.type === 'boolean'" :id =" props.id" v-model =" currentValue" />
338- </template >
339334 <template v-slot :action-items >
340335 <slot name =" workflow-run-form-title-items" />
341336 </template >
You can’t perform that action at this time.
0 commit comments