All Collections
Versions 3.0 and 2.0
Code Examples
Portal 2.0 Code Examples
Display a dropdown with possible options in Portal 2.0
Display a dropdown with possible options in Portal 2.0
Elisa Dinsmore avatar
Written by Elisa Dinsmore
Updated over a week ago

Select-boxes with defined options are documented a little bit here:

And the configuration syntax is:

{
    label: "Select Field",
    key: "select_field",
    type: "select",
    options: [
        { value: "bad", label: "Bad" },
        { value: "good", label: "Good", alternates: ["great", "wonderful"]}
    ]
}
Did this answer your question?