Splunk Dev

How can I setup page with select?

Path Finder


   I'm not a javascript expert, but I have found useful examples to build setup pages for app and add-on:


These examples show forms with input "text". I see that "textarea" works too.

But I cant' build other input type, such as "select".

How can I add "select" here?

For instance,


e("label", null, [
"My label ",
e("input", { type: "select", name: "mytype", options: [
{ label: "File", value: "file" },
{ label: "Folder", value: "folder" },
], onChange: this.handleChange }),


doesn't work.

Thank you very much

Kind Regards


Labels (1)
Tags (1)
0 Karma
Get Updates on the Splunk Community!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

 (view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...