aequos-solutions / modern-data-visualizer

Documentation for the Modern Data Visualizer solution
https://aequos-solutions.github.io/modern-data-visualizer/
7 stars 7 forks source link

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

Open d-turley opened 11 months ago

d-turley commented 11 months ago

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.

TrannumS commented 11 months ago

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