Global parameters: Dropdowns and multi-selects?

The plugins SDK config parameters documentation discusses the various field types available:

type (required): The type of field to offer when editing this parameter (can be boolean, date, date_time, float, integer, string, text, json or color)

But is it possible to create a dropdown selector (choose from a list of predefined strings, such as ‘Light Mode’ and ‘Dark Mode’) or a multi-select field like is used for the Markdown editor?

In short, I was hoping to be able to specify type string but allow one or more selections from a predefined list.

Thank you for the remark. I’m turning this into a feature request as it’s not possible right now.

1 Like