Skip to content

[BUG] Apply button must be clicked twice before Clear button is enabled #117

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

Open
d-turley opened this issue Jul 27, 2023 · 1 comment
Open
Assignees
Labels
bug Something isn't working Next Release An issue that will be fixed or a new feature that will be added to one of the next versions of the s

Comments

@d-turley
Copy link

Version used
1.5.4

Describe the bug
When using a filter in the Data Filters web part with a Checkbox template, and there is only one value available for that filter, selecting the filter value and then clicking Apply does not enable the Clear button and disable the Apply button. The Apply button needs to be clicked twice before the buttons states are updated.

To Reproduce
Steps to reproduce the behavior:

  1. Configure a Data Filters web part with a filter that uses the Checkbox template. The filter must be associated with a field that only displays a single filter value for the user to select.
  2. Select the single filter value
  3. Click the Apply button
  4. Observe that the Apply button is still enabled and the Clear button is still disabled
  5. Click the Apply button again
  6. Observe that the Apply button is now disabled and the Clear button is enabled

Expected behavior
Expected that the Apply only needs to be clicked once and the button states will change to reflect the current state of the page.

Desktop (please complete the following information):
Issue occurs in both Chrome and Edge

Additional context
There are no errors or other messages appearing the F12 console.

@d-turley d-turley added the bug Something isn't working label Jul 27, 2023
@Laul0 Laul0 added the Needs: Investigations To solve this issue, additional investigations are needed label Jul 28, 2023
@TrannumS
Copy link

TrannumS commented Aug 1, 2023

Hi @d-turley ,

Thanks for your feedback. This issue has been reproduced by our team and the bug is added in our backlog with priority.
We will work on it and keep you in touch when we will be able to release a version with a fix.

Thank you

@TrannumS TrannumS added Next Release An issue that will be fixed or a new feature that will be added to one of the next versions of the s and removed Needs: Investigations To solve this issue, additional investigations are needed labels Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Next Release An issue that will be fixed or a new feature that will be added to one of the next versions of the s
Projects
None yet
Development

No branches or pull requests

3 participants