You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| required | Prevents form submission until element is completed. | Optional | Boolean | false | - |
221
234
235
+
visible: Default is **[form, content]**
236
+
222
237
### Input
223
238
224
239
You can use an `input` element to add a single-line text field to your form.
@@ -240,6 +255,8 @@ Validations:
240
255
| is_number | Prevents form submission until element is filled with a number. | Optional | Boolean | false | - |
241
256
| regex | Prevents form submission until element is filled with a value that match the regular expression. | Optional | String | - | a [regular expression](https://en.wikipedia.org/wiki/Regular_expression) |
242
257
258
+
visible: Default is **[form, content]**
259
+
243
260
### Dropdown
244
261
245
262
You can use a `dropdown` element to add a dropdown menu in your form.
| label | A brief description of the expected user input, which is displayed in the form. | Required | String | - | - |
271
290
| description | A description of the set of checkboxes, which is displayed in the form. Supports Markdown formatting. | Optional | String | Empty String | - |
272
291
| options | An array of checkboxes that the user can select. For syntax, see below. | Required | Array | - | - |
273
292
274
293
For each value in the options array, you can set the following keys.
| label | The identifier for the option, which is displayed in the form. Markdown is supported for bold or italic text formatting, and hyperlinks. | Required | String | - | - |
279
-
| required | Prevents form submission until element is completed. | Optional | Boolean | false | - |
| label | The identifier for the option, which is displayed in the form. Markdown is supported for bold or italic text formatting, and hyperlinks. | Required | String | - | - |
298
+
| required | Prevents form submission until element is completed. | Optional | Boolean | false | - |
299
+
| visible | Whether a specific checkbox appears in the form only, in the created issue only, or both. Valid options are "form" and "content". | Optional | String array | false | - |
0 commit comments