Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fd-multi-combobox: initial search input (text) is not removed when clicking on "Select all" #12670

Open
alex-makarenko opened this issue Oct 29, 2024 · 0 comments

Comments

@alex-makarenko
Copy link

Is this a bug, enhancement, or feature request?

Bug

Describe your proposal.

When we type something in the Multi Combobox input and then click "Select all", input gets populated with all the selections but initial text is still there. The correct behaviour would be if the text is removed.

Can you handle that on the application side

Probably yes, but better to apply a fix on the library side

Which versions of Angular and Fundamental Library for Angular are affected? Please, specify the exact version. (If this is a feature request, use current version.)

1. [email protected]
2. angular@18

If this is a bug, please provide steps for reproducing it; the exact components you are using;

We can use sample from the documentation web site - https://docs-0-53--fundamental-ngx.netlify.app/#/core/multi-combobox#data-source

  1. Remove "Banana" from the first combobox (with label "Array of Strings")
  2. Type "Banana" in the combobox input
  3. Click "Select all" in the dropdown

Actual result: combobox input has search text "Banana" along with selected options
Expected result: only selected options are there without initial search query
Screenshot 2024-10-29 at 17 02 47

Please provide relevant source code (if applicable).

-

Please provide stackblitz example(s).

-

In case this is Accessibility related topic, did you consult with an accessibility expert? If not, please do so and share their recommendations.

-

Did you check the documentation and the API?

Yes

Did you search for similar issues?

Yes

Is there anything else we should know?

-

IMPORTANT: Please refrain from providing links or screenshots of SAP's internal information, as this project is open-source, and its contents are accessible to anyone.

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

No branches or pull requests

1 participant