Implement Smart Dropdown and Enhance Picker Field with Auto-Search and Raw Text Input Formatting Logic

Certified Associate Developer

Currently, when users paste multiple lines of data into these fields, Appian merges everything into a single line.

The requirement is to improve this behavior by allowing multi-line inputs to be preserved and formatted correctly—each line should be treated as a separate entry.

Based on this input, the system should identify and display relevant matching data for each line, helping users quickly find and select multiple valid options.

Example if we search - "Option 1", "Option 2", "Option 3"  then relevant options should be displayed in the dropdown

a!localVariables(
  local!selectedData,
  {
    a!columnsLayout(
      columns: {
        a!columnLayout(
          contents: {
            a!dropdownField(
              choiceLabels: {"Option 1", "Option 2", "Option 3", "Option 4",
              "Option 5", "Option 6", "Option 7", "Option 8",
              "Option 9", "Option 10", "Option 11", "Option 12"},
              choiceValues: {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12},
              label: "Dropdown",
              labelPosition: "ABOVE",
              placeholder: "--- Select a Value ---",
              value: local!selectedData,
              saveInto: {local!selectedData},
              searchDisplay: "ON",
              validations: {}
            )
          }
        ),
        a!columnLayout(
          contents: {}
        ),
        a!columnLayout(
          contents: {}
        )
      }
    )
  }
)


  Discussion posts and replies are publicly visible

Parents Reply Children