Toolkit

TK.Dropdown

Dropdown component

Also available as form element using type 'dropdown'.

{
    _: TK.Dropdown,
    Options: [
        { Value: 1, Text: "Option 1" },
        { Value: 2, Text: "Option 2" },
        { Value: 3, Text: "Option 3" },
        { Value: 4, Text: "Option 4" },
        { Value: 5, Text: "Option 5" },
        { Value: 6, Text: "Option 6" },
        { Value: 7, Text: "Option 7" },
        { Value: 8, Text: "Option 8" },
        { Value: 9, Text: "Option 9" },
        { Value: 10, Text: "Option 10" },
        { Value: 11, Text: "Option 11" },
        { Value: 12, Text: "Option 12" },
        { Value: 13, Text: "Option 13" },
        { Value: 14, Text: "Option 14" },
        { Value: 15, Text: "Option 15" },
    ],
    Multiple: true, // Allow multiple selections
    onchange: function() {
        console.log("Selected values:", this.GetValue());
    }
}