Skip to content

Allow multiple choices in the form list to be selected - #2595

Merged
Archigos merged 5 commits into
espanso:devfrom
ErwinOlie:form-list-multiple-line-selections
Dec 19, 2025
Merged

Archigos merged 5 commits into
espanso:devfrom
ErwinOlie:form-list-multiple-line-selections

Conversation

@ErwinOlie

@ErwinOlie ErwinOlie commented Dec 8, 2025 •

Copy link
Copy Markdown
Contributor

Allows multiple choices in the form list to be selected by holding Ctrl or Shift. By default, the selected items in the result will be joined by ", ", but this can be overridden in the YAML:

Usage:

  - trigger: ":form"
    form: |
      [[choices]]
    form_fields:
      choices:
        type: list
        values:
          - First
          - Second
          - Third
        separator: "-"

Example output:

First-Third

Fixes #1199

@ErwinOlie
ErwinOlie marked this pull request as ready for review December 8, 2025 19:39
@ErwinOlie
ErwinOlie requested a review from AucaCoyan as a code owner December 8, 2025 19:39
@ErwinOlie ErwinOlie changed the title issue #1199: multiple selections in form list Allows multiple items in the form list to be selected Dec 9, 2025
@ErwinOlie ErwinOlie changed the title Allows multiple items in the form list to be selected Allow multiple items in the form list to be selected Dec 9, 2025
@ErwinOlie ErwinOlie changed the title Allow multiple items in the form list to be selected Allow multiple choices in the form list to be selected Dec 9, 2025
@AucaCoyan
AucaCoyan requested review from Archigos and removed request for AucaCoyan December 9, 2025 13:46
@Archigos
Archigos merged commit bf4767e into espanso:dev Dec 19, 2025
@smeech smeech mentioned this pull request Dec 19, 2025
53 of 56 tasks
sboldt1978 pushed a commit to sboldt1978/espanso that referenced this pull request Feb 11, 2026
…e-selections

Add multi-select support to form list fields (espanso#2595)

Allows users to select multiple items in form lists using Ctrl/Shift, with results joined by a configurable separator (default: ", ").

- Adds `separator` field to list field configuration
- Enables `wxLB_EXTENDED` flag for `wxListBox` control
- Maintains backward compatibility with default separator

Fixes Discussion [espanso#1199](espanso#1199)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants