Skip to content

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

Open
@d-turley

Description

@d-turley

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.

Metadata

Metadata

Assignees

Labels

Next ReleaseAn issue that will be fixed or a new feature that will be added to one of the next versions of the sbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions