A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/coder/coder/commit/3a2e36237dc78f1e1a2b2d7165b77dcbf66934e3 below:

add `error` form_type for dynamic parameters (#18075) · coder/coder@3a2e362 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+2

-2

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+2

-2

lines changed Original file line number Diff line number Diff line change

@@ -478,13 +478,13 @@ The "Options" column in the table below indicates whether the form type requires

478 478

| `checkbox` | `bool` | No | A single checkbox for boolean parameters. Default for boolean parameters. |

479 479

| `dropdown` | `string`, `number` | Yes | Searchable dropdown list for choosing a single option from a list. Default for `string` or `number` parameters with options. |

480 480

| `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). |

482 481

| `multi-select` | `list(string)` | Yes | Select multiple items from a list with checkboxes. |

483 482

| `radio` | `string`, `number`, `bool`, `list(string)` | Yes | Radio buttons for selecting a single option with all choices visible at once. |

484 483

| `slider` | `number` | No | Slider selection with min/max validation for numeric values. |

485 484

| `switch` | `bool` | No | Toggle switch alternative for boolean parameters. |

486 485

| `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 |

488 488 489 489

### Form Type Examples

490 490

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4