- Notifications
You must be signed in to change notification settings - Fork913
docs: adderror
form_type for dynamic parameters#18075
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes fromall commits
Commits
Show all changes
2 commits Select commitHold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
4 changes: 2 additions & 2 deletionsdocs/admin/templates/extending-templates/parameters.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
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 | ||
| `checkbox` | `bool` | No | A single checkbox for boolean parameters. Default for boolean parameters. | | ||
| `dropdown` | `string`, `number` | Yes | Searchable dropdown list for choosing a single option from a list. Default for `string` or `number` parameters with options. | | ||
| `input` | `string`, `number` | No | Standard single-line text input field. Default for string/number parameters without options. | | ||
Emyrk marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
| `multi-select` | `list(string)` | Yes | Select multiple items from a list with checkboxes. | | ||
| `radio` | `string`, `number`, `bool`, `list(string)` | Yes | Radio buttons for selecting a single option with all choices visible at once. | | ||
| `slider` | `number` | No | Slider selection with min/max validation for numeric values. | | ||
| `switch` | `bool` | No | Toggle switch alternative for boolean parameters. | | ||
| `tag-select` | `list(string)` | No | Default for list(string) parameters without options. | | ||
| `textarea` | `string` | No | Multi-line text input field for longer content. | | ||
| `error` | | No | Used to display an error message when a parameter form_type is unknown | | ||
### Form Type Examples | ||
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.