Skip to content

Commit 060bb86

Browse files
committed
Use list controls for boolean parameters
1 parent d5dcccc commit 060bb86

1 file changed

Lines changed: 18 additions & 6 deletions

File tree

.codeocean/app-panel.json

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,13 @@
124124
"name": "Round estimates",
125125
"param_name": "round_estimates",
126126
"description": "Whether to round estimates",
127-
"type": "text",
127+
"type": "list",
128128
"value_type": "string",
129-
"default_value": "TRUE"
129+
"default_value": "TRUE",
130+
"extra_data": [
131+
"TRUE",
132+
"FALSE"
133+
]
130134
},
131135
{
132136
"id": "m9K2pX4bV7nT1eR6",
@@ -222,9 +226,13 @@
222226
"name": "Pie chart in 3D",
223227
"param_name": "pie_chart_in_3d",
224228
"description": "Whether to draw pie charts in 3D",
225-
"type": "text",
229+
"type": "list",
226230
"value_type": "string",
227-
"default_value": "TRUE"
231+
"default_value": "TRUE",
232+
"extra_data": [
233+
"TRUE",
234+
"FALSE"
235+
]
228236
},
229237
{
230238
"id": "B6tQ1pV8mR3xN2cL",
@@ -242,9 +250,13 @@
242250
"name": "Draw bar border",
243251
"param_name": "draw_bar_border",
244252
"description": "Whether to draw borders around bars",
245-
"type": "text",
253+
"type": "list",
246254
"value_type": "string",
247-
"default_value": "TRUE"
255+
"default_value": "TRUE",
256+
"extra_data": [
257+
"TRUE",
258+
"FALSE"
259+
]
248260
},
249261
{
250262
"id": "Y4nR2pX7mL1vQ6cT",

0 commit comments

Comments
 (0)