Skip to content

Commit 3a2e362

Browse files
authored
docs: add error form_type for dynamic parameters (coder#18075)
1 parent bc3b8d5 commit 3a2e362

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -478,13 +478,13 @@ The "Options" column in the table below indicates whether the form type requires
478478
| `checkbox` | `bool` | No | A single checkbox for boolean parameters. Default for boolean parameters. |
479479
| `dropdown` | `string`, `number` | Yes | Searchable dropdown list for choosing a single option from a list. Default for `string` or `number` parameters with options. |
480480
| `input` | `string`, `number` | No | Standard single-line text input field. Default for string/number parameters without options. |
481-
| `key-value` | `string` | No | For entering key-value pairs (as JSON). |
482481
| `multi-select` | `list(string)` | Yes | Select multiple items from a list with checkboxes. |
483482
| `radio` | `string`, `number`, `bool`, `list(string)` | Yes | Radio buttons for selecting a single option with all choices visible at once. |
484483
| `slider` | `number` | No | Slider selection with min/max validation for numeric values. |
485484
| `switch` | `bool` | No | Toggle switch alternative for boolean parameters. |
486485
| `tag-select` | `list(string)` | No | Default for list(string) parameters without options. |
487-
| `textarea` | `string` | No | Multi-line text input field for longer content. | |
486+
| `textarea` | `string` | No | Multi-line text input field for longer content. |
487+
| `error` | | No | Used to display an error message when a parameter form_type is unknown |
488488
489489
### Form Type Examples
490490

0 commit comments

Comments
 (0)