Skip to content

Commit 6d93bfe

Browse files
authored
Merge pull request #2735 from replicatedhq/paigecalvert-patch-3
Clarify that when can't be used with radio/dropdown either
2 parents 1fefbaf + 10f9f11 commit 6d93bfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/reference/custom-resource-config.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ Items have a `name`, `title`, `type`, and other optional properties.
449449
<table>
450450
<tr>
451451
<th>Description</th>
452-
<td><p>The <code>when</code> property denotes items that are displayed on the Admin Console <strong>Config</strong> page only when a condition evaluates to true. When the condition evaluates to false, the item is not displayed.</p><PropertyWhen/><p>The `when` item property has the following requirements and limitations:</p><WhenRequirements/><ul><li><code>when</code> cannot be applied to the items nested under a <code>select_one</code> item. To conditionally show or hide <code>select_one</code> items, apply the <code>when</code> property to the <code>select_one</code> item itself.</li></ul><WhenNote/></td>
452+
<td><p>The <code>when</code> property denotes items that are displayed on the Admin Console <strong>Config</strong> page only when a condition evaluates to true. When the condition evaluates to false, the item is not displayed.</p><PropertyWhen/><p>The `when` item property has the following requirements and limitations:</p><WhenRequirements/><ul><li><code>when</code> cannot be applied to the items nested under a <code>radio</code>, <code>dropdown</code> or <code>select_one</code> item. To conditionally show or hide <code>radio</code>, <code>dropdown</code> or <code>select_one</code> items, apply the <code>when</code> property to the item itself.</li></ul><WhenNote/></td>
453453
</tr>
454454
<tr>
455455
<th>Required?</th>

0 commit comments

Comments
 (0)