Skip to content

Commit cc30cfe

Browse files
committed
previewing tabs
1 parent 0a0c39b commit cc30cfe

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/admin/templates/extending-templates/dynamic-parameters.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ Dynamic Parameters introduces three primary enhancements to the standard paramet
8282

8383
Dynamic Parameters supports a variety of form types to create rich, interactive user experiences.
8484

85-
You can specify the form type using the `form_type` property.
85+
You can specify the form type using the [`form_type`](https://registry.terraform.io/providers/coder/coder/latest/docs/data-sources/parameter#form_type-1) attribute.
8686
Different parameter types support different form types.
8787

8888
The "Options" column in the table below indicates whether the form type requires options to be defined (Yes) or doesn't support/require them (No). When required, options are specified using one or more `option` blocks in your parameter definition, where each option has a `name` (displayed to the user) and a `value` (used in your template logic).
@@ -104,7 +104,7 @@ The "Options" column in the table below indicates whether the form type requires
104104

105105
### New Form Types
106106

107-
The [`form_type`](https://registry.terraform.io/providers/coder/coder/latest/docs/data-sources/parameter#form_type-1) attribute can be used to select from a variety of form controls. See the following examples for usage in the [Parameters Playground](https://playground.coder.app/parameters).
107+
The following examples show some basic usage of the sing the [`form_type`](https://registry.terraform.io/providers/coder/coder/latest/docs/data-sources/parameter#form_type-1) attribute explained above.
108108

109109
<div class="tabs">
110110

@@ -298,7 +298,7 @@ Using these in conjunction, administrators can build intuitive, reactive forms f
298298

299299
<div class="tabs">
300300

301-
## Conditionally hide/show options
301+
## Hide/show options
302302

303303
Using Terraform conditionals and the `count` block, we can allow a checkbox to expose or hide a subsequent parameter.
304304

@@ -335,9 +335,9 @@ data "coder_parameter" "cpu_cores" {
335335

336336
## Dynamic Defaults
337337

338-
## Dynamic Validation
339-
338+
For a given parameter, we can influence which option is selected by default based on the selection of another parameter.
340339

340+
## Dynamic Validation
341341

342342
## Daisy Chaining
343343

0 commit comments

Comments
 (0)