SELECT

name: "input_SELECT"
inputs:
 select_1:
   type: SELECT
   name: "First select"
   required: true
   options:
     - "option 1"
     - "option 2"
     - "option 3"
 select_2:
   type: SELECT
   name: "Second select"
   info: "This is an example description for the selector above."
   default: "option 2"
   options:
     - "option 1"
     - "option 2"                                                                                                                                                                   
     - "option 3"
execute_commands:
 - echo $select_1
 - echo $select_2
docker_image_name: "ubuntu"
docker_image_tag: "latest"

Here we have two selectors:

  • the first one is required
  • the second has default value of 2 and an infobox with a description

Image loading...Custom action with SELECT inputsCustom action with SELECT inputs

Last update:
Sep 23, 2024