Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

autocomplete only works on the first item of a multiselect question #24072

Copy link
Copy link
Closed
@joachim-n

Description

@joachim-n
Issue body actions
Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no
Symfony version 3.3.6

I have a multiselect question, created using the sample code at https://symfony.com/doc/current/components/console/helpers/questionhelper.html#multiple-choices

When I run the command, the first option autocompletes. Subsequent options do not.

So for example:

Please select your favorite colors (defaults to red and blue)
  [0] red
  [1] blue
  [2] yellow

With this input:

r

the rest of the word 'red' appears and a press of TAB takes me to the end of the word.

With this input:

red, b

nothing happens.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.