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

Two-list "Add all" and "Remove all" counters not consistent with the number of actually listed items when filtered #877

Open
Franek75 opened this issue Jul 1, 2024 · 0 comments
Labels

Comments

@Franek75
Copy link

Franek75 commented Jul 1, 2024

Describe the bug
In two-list component, when the Available Fields or Fields To Show list is filtered, the counter of the corresponding "Add All"/"Remove all" link is not updated, and displays the total amount of available/visible items.
Thus, when "Add All" or "Remove All" is clicked, the number of items moved to the other list does not match the value of that counter.

To Reproduce
Steps to reproduce the behavior:

  1. Go to a screen with a two-list component
  2. Supposing that M items are listed in Available Fields, set the list filter to a value so that N<M items are listed
  3. See that link states "Add all (M)" (it should be "Add all (N)"
  4. Click "Add all". N items are moved to Visible list.
  5. Do the same with the Fields To Show and the "Remove all" link

Expected behavior
The counters of "Add All (...)" and "Remove All (...)" links should match the number of items that are being actually listed at that moment.

Screenshots
141-245_S2_AddAllCounterWhenFiltered
141-245_S2_RemoveAllCounterWhenFiltered

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Chrome
  • Version: 126.0.6478.127 (Official Build) (64-bit)

Additional context
Add any other context about the problem here.

@Franek75 Franek75 changed the title Two-list "Add all" and "Remove all" counters not consistent with the number of listed items when filtered Two-list "Add all" and "Remove all" counters not consistent with the number of actually listed items when filtered Jul 1, 2024
@Franek75 Franek75 added the bug label Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant