@@ -79,13 +79,23 @@ data "coder_parameter" "string_without_opts" {
7979 icon = " /emojis/0031-fe0f-20e3.png"
8080}
8181
82+ data "coder_parameter" "textarea_without_opts" {
83+ name = " textarea"
84+ display_name = " String"
85+ description = " Textarea"
86+ type = " string"
87+ form_type = " textarea"
88+ order = 4
89+ icon = " /emojis/0031-fe0f-20e3.png"
90+ }
91+
8292data "coder_parameter" "bool_with_opts" {
8393 // should be 'radio'
8494 name = " bool_with_opts"
8595 display_name = " Bool"
8696 description = " Bool with options"
8797 type = " bool"
88- order = 4
98+ order = 5
8999 icon = " /emojis/0031-fe0f-20e3.png"
90100 default = false
91101
@@ -108,7 +118,7 @@ data "coder_parameter" "bool_without_opts" {
108118 display_name = " Bool"
109119 description = " Bool without options"
110120 type = " bool"
111- order = 5
121+ order = 6
112122 icon = " /emojis/0031-fe0f-20e3.png"
113123 default = false
114124}
@@ -119,7 +129,7 @@ data "coder_parameter" "bool_without_opts_switch" {
119129 description = " Bool without options, but it is a switch"
120130 type = " bool"
121131 form_type = " switch"
122- order = 6
132+ order = 7
123133 icon = " /emojis/0031-fe0f-20e3.png"
124134 default = false
125135}
@@ -130,7 +140,7 @@ data "coder_parameter" "list_string_options" {
130140 display_name = " List(String)"
131141 description = " list(string) with options"
132142 type = " list(string)"
133- order = 7
143+ order = 8
134144 icon = " /emojis/0031-fe0f-20e3.png"
135145 default = jsonencode ([" purple" , " blue" , " green" , " red" , " orange" ])
136146
@@ -159,7 +169,7 @@ data "coder_parameter" "list_string_without_options" {
159169 display_name = " List(String)"
160170 description = " list(string) with options"
161171 type = " list(string)"
162- order = 8
172+ order = 9
163173 icon = " /emojis/0031-fe0f-20e3.png"
164174 default = jsonencode ([" purple" , " blue" , " green" , " red" , " orange" ])
165175 // You could send jsonencode(["airplane", "car", "school"])
@@ -172,7 +182,7 @@ data "coder_parameter" "list_string_multi_select_options" {
172182 description = " list(string) with options"
173183 type = " list(string)"
174184 form_type = " multi-select"
175- order = 8
185+ order = 10
176186 icon = " /emojis/0031-fe0f-20e3.png"
177187 default = jsonencode ([" blue" , " green" , " red" ])
178188
0 commit comments