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

ColumnFilter are not cleared when calling searchContext.clear #796

Closed
FrankHossfeld opened this issue Jul 8, 2023 · 0 comments
Closed
Assignees
Labels
version 1.x.x Version 1.x.x issues version 2.x.x Version 2.x.x issues
Projects
Milestone

Comments

@FrankHossfeld
Copy link
Contributor

FrankHossfeld commented Jul 8, 2023

Using the new styled ColumnConfig.applyMeta(org.dominokit.domino.ui.utils.ComponentMeta) to add a ColumnFilterMeta it is no longer possible to clear the filter programmatically using dataTable.getSearchContext().clear().

Add a HeaderColumnFilterto a DataTable's column, enter a String to search for and then call dataTable.getSearchContext().clear() to clear the search.

Expected behavior is: all search fields get cleared.

Actually it does not clear.

Tested with the latest SNAPSHOT.

It looks like it is reproducible in the Domino-UI Demo:

@vegegoku vegegoku self-assigned this Aug 27, 2023
@vegegoku vegegoku added this to To do in Domino UI via automation Aug 27, 2023
@vegegoku vegegoku added this to the 2.0.0-RC2 milestone Aug 27, 2023
@vegegoku vegegoku added version 1.x.x Version 1.x.x issues version 2.x.x Version 2.x.x issues labels Aug 27, 2023
Domino UI automation moved this from To do to Done Aug 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
version 1.x.x Version 1.x.x issues version 2.x.x Version 2.x.x issues
Projects
Domino UI
  
Done
Development

No branches or pull requests

2 participants