Skip to content

Commit d1c0d8a

Browse files
Revert "feat: add title and description fields for section nodes in workflow models"
This reverts commit 770b1a0.
1 parent f9c92de commit d1c0d8a

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

src/form/workflow/models.tsp

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,6 @@ namespace CoreSystem.FormWorkflow {
8686
@example("開始表單")
8787
label: string;
8888

89-
@doc("Section title shown to respondents. Only applicable for section nodes.")
90-
title?: string;
91-
92-
@doc("Section description shown to respondents. Only applicable for section nodes.")
93-
description?: string;
94-
9589
@doc("The condition rule for the node, only for condition nodes")
9690
conditionRule?: ConditionRule;
9791

@@ -110,8 +104,6 @@ namespace CoreSystem.FormWorkflow {
110104
id: "b23f2668-c2dc-4213-88fe-eceedff46398",
111105
type: NodeType.section,
112106
label: "Personal Information",
113-
title: "Personal Information",
114-
description: "Please provide your basic information",
115107
conditionRule: #{ source: ConditionSource.nonChoice, question: "9a843aa0-8451-4e3b-b6a0-8c0e994e9040", pattern: "^([6-9]|[1-9][0-9]+)$" },
116108
next: "c34g3779-d3ed-5c24-99gf-fdffegg57409",
117109
nextTrue: "d45h4880-e4fe-6d35-00hg-gegffhh68510",
@@ -120,12 +112,6 @@ namespace CoreSystem.FormWorkflow {
120112
model NodeResponse {
121113
...NodeStructure;
122114

123-
@doc("Section title shown to respondents. Only applicable for section nodes.")
124-
title?: string;
125-
126-
@doc("Section description shown to respondents. Only applicable for section nodes.")
127-
description?: string;
128-
129115
@doc("The condition rule for the node, only for condition nodes")
130116
conditionRule: ConditionRule;
131117

0 commit comments

Comments
 (0)