You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/admin/templates/extending-templates/dynamic-parameters.md
+54-2Lines changed: 54 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -195,7 +195,7 @@ data "coder_parameter" "ide_selector" {
195
195
name = "ide_selector"
196
196
description = "Choose any IDEs for your workspace."
197
197
mutable = true
198
-
display_name = "Select mutliple IDEs"
198
+
display_name = "Select multiple IDEs"
199
199
200
200
201
201
# Allows users to select multiple IDEs from the list.
@@ -335,7 +335,59 @@ data "coder_parameter" "cpu_cores" {
335
335
336
336
## Dynamic Defaults
337
337
338
-
For a given parameter, we can influence which option is selected by default based on the selection of another parameter.
338
+
For a given parameter, we can influence which option is selected by default based on the selection of another. This allows us to suggest an option dynamically without strict enforcement.
339
+
340
+
[Try dynamic defaults in the Parameter Playground](https://playground.coder.app/parameters/Ilko59tf89).
0 commit comments