IgniteUI / igniteui-webcomponents

Ignite UI for Web Components is a complete library of UI components, giving you the ability to build modern web applications using encapsulation and the concept of reusable components in a dependency-free approach.
https://www.infragistics.com/products/ignite-ui-web-components
Other
113 stars 2 forks source link

[Bug]: Combo retains search term when toggling filtering #1260

Closed simeonoff closed 1 week ago

simeonoff commented 2 weeks ago

Which component(s) are affected?

Combo

Description

When toggling the filtering by using the disableFiltering option on the combo, the combo search field persists the term while it shouldn't. This also makes the combo persist the filtered stated if the combo is initially filtered by a term and the disableFiltering option is then set to true, rendering the combo unusable for wider selection.

Here's a short clip:

https://github.com/IgniteUI/igniteui-webcomponents/assets/4118303/d3f28f8d-d3d5-4e82-b4c4-9e559988dd46

Reproduction

  1. Open the combo sample
  2. Filter the list of items
  3. Disable filtering by setting disableFiltering to true
  4. Open the combo and see that the filtering is not reset

Workaround

I haven't found a workaround for this problem.

Is this a regression?

No or unsure. This never worker, or I haven't tried before.

Affected versions

Failing in 4.8.0

Browser/OS/Node environment

Browser: All