SAP / fundamental-ngx

Fundamental Library for Angular is SAP Design System Angular component library
https://sap.github.io/fundamental-ngx
Apache License 2.0
269 stars 129 forks source link

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

Open alex-makarenko opened 4 weeks ago

alex-makarenko commented 4 weeks ago

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. fundamental-ngx@0.53.0
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.